Files
kotlin-fork/compiler/fir/analysis-tests/testData/resolve/localFunctionsHiding.kt
T
2020-03-19 09:51:01 +03:00

23 lines
327 B
Kotlin
Vendored

interface A {
val x: Int
}
fun test_1() {
fun Int.transform(): Int = 1
fun A.transform(): Int {
return x.transform()
}
val y = 1
y.transform()
}
fun test_2() {
fun Int.transform(): Int = 1
fun A.transformX(): Int {
return x.transform()
}
val y = 1
y.transform()
}