Add regression test for outdated issue

#KT-3738 Obsolete
This commit is contained in:
Alexander Udalov
2014-02-12 19:14:34 +04:00
parent 35c7c4afd8
commit a98434263b
2 changed files with 24 additions and 0 deletions
@@ -0,0 +1,19 @@
class A {
fun foo() {}
fun bar(f: A.() -> Unit = {}) {}
}
class B {
class D {
{
A().bar {
this.foo()
}
}
}
}
fun box(): String {
B.D()
return "OK"
}