1b553ebfaf
Added tests from testData/codegen/box directory. There are blackbox tests in other directories and they are to be added.
16 lines
261 B
Kotlin
16 lines
261 B
Kotlin
fun String.bar(): String {
|
|
open class Local {
|
|
fun result() = this@bar
|
|
}
|
|
|
|
class Outer {
|
|
inner class Inner : Local() {
|
|
fun outer() = this@Outer
|
|
}
|
|
}
|
|
|
|
return Outer().Inner().result()
|
|
}
|
|
|
|
fun box() = "OK".bar()
|