Introduce synthetic scope for constructors of fun interfaces
#KT-37434 Fixed
This commit is contained in:
@@ -10,4 +10,5 @@ fun foo(k: KRunnable) = k.invoke()
|
||||
|
||||
fun test() {
|
||||
foo { "OK" }
|
||||
foo(KRunnable { "OK "})
|
||||
}
|
||||
Reference in New Issue
Block a user