Fix for static - write NEED_SYNTHETIC flag on original descriptor

This commit is contained in:
Mikhael Bogdanov
2013-06-17 17:25:19 +04:00
parent 76d4dcef7f
commit 52ead7a350
3 changed files with 21 additions and 1 deletions
@@ -0,0 +1,15 @@
class C() {
class object {
private fun <T> create() = C()
}
class ZZZ {
val c = C.create<String>()
}
}
fun box(): String {
C.ZZZ().c
return "OK"
}