Java to Kotlin converter: fixed bugs with reference conversion in secondary constructors
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
class C {
|
||||
class object {
|
||||
private val staticField1 = 0
|
||||
private val staticField2 = 0
|
||||
|
||||
fun create(p: Int): C {
|
||||
val __ = C()
|
||||
System.out.println(staticField1 + C.staticField2)
|
||||
return __
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user