fix for NPE when lookup names in objects/closure in constructors #KT-2719 Fixed

This commit is contained in:
Alex Tkachman
2012-09-11 16:15:35 +03:00
parent bb92655ecd
commit ec549895e8
3 changed files with 14 additions and 1 deletions
@@ -0,0 +1,9 @@
class Clazz {
class object {
val a = object {
fun run(x: String) = x
}
}
}
fun box() = "OK"