Files
kotlin-fork/compiler/fir/analysis-tests/testData/resolve/localFunctionsHiding.kt
T
2020-12-16 19:52:30 +03:00

24 lines
328 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()
}