Sign in
pigweed
/
third_party
/
github
/
JetBrains
/
kotlin
/
2a568be17b8f4a9af8f61b27d156c07d37c12fdc
/
.
/
compiler
/
testData
/
diagnostics
/
tests
/
testsWithJava21
/
changeInFirstOverloadResolution.kt
blob: 5b39f22a211cb063bb47889859fc4a1845f49c31 [
file
]
// FIR_IDENTICAL
// ISSUE: KT-65235
class
Scope
{
operator
fun
String
.
invoke
():
Int
=
1
}
fun scope
(
s
:
Scope
.()
->
Unit
)
{}
fun somewhere
()
{
val x
:
String
=
listOf
(
"a"
).
first
()
scope
{
val y
:
String
=
listOf
(
"a"
).
first
()
}
}