1b553ebfaf
Added tests from testData/codegen/box directory. There are blackbox tests in other directories and they are to be added.
20 lines
236 B
Kotlin
20 lines
236 B
Kotlin
class A {
|
|
fun foo() {}
|
|
fun bar(f: A.() -> Unit = {}) {}
|
|
}
|
|
|
|
class B {
|
|
class D {
|
|
init {
|
|
A().bar {
|
|
this.foo()
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
fun box(): String {
|
|
B.D()
|
|
return "OK"
|
|
}
|