Sign in
pigweed
/
third_party
/
github
/
JetBrains
/
kotlin
/
9fc4d94d04f972782fee2dc5b3b25d052d88601a
/
.
/
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
()
}
}