Files
kotlin-fork/compiler/fir/analysis-tests/testData/resolve/references/integerLiteralInLhs.kt
T

9 lines
146 B
Kotlin
Vendored

fun Short.foo(): Int = 1
fun Int.foo(): Int = 2
fun testRef(f: () -> Int) {}
fun test() {
// should resolve to Int.foo
testRef(1::foo)
}