Fixed bug in fix for KT 3492: Bug in bytecode generation for labeled super call from inner class & Property generation refactoring

This commit is contained in:
Mikhael Bogdanov
2013-04-18 18:13:59 +04:00
parent fe4dd2f661
commit 82d7f07cb3
5 changed files with 34 additions and 4 deletions
@@ -0,0 +1,5 @@
class FieldAccess {
public String fieldO;
public static String fieldK;
}
@@ -0,0 +1,10 @@
class MyWrongClass : FieldAccess() {
}
fun box() : String {
val clazz = MyWrongClass()
clazz.fieldO = "O"
FieldAccess.fieldK = "K"
return clazz.fieldO!! + FieldAccess.fieldK!!
}