Java to Kotlin converter: fixed bugs with reference conversion in secondary constructors

This commit is contained in:
Valentin Kipyatkov
2014-06-25 21:48:06 +04:00
parent f277285d9a
commit f8e4ecfa94
7 changed files with 80 additions and 3 deletions
@@ -0,0 +1,13 @@
//file
class C {
private static int staticField1 = 0;
private static int staticField2 = 0;
C() {
}
C(int p) {
this();
System.out.println(staticField1 + C.staticField2);
}
}