Java to Kotlin convertor: generating of val/var constructor parameters when possible
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
open class C(p: Int) {
|
||||
private val p: Int
|
||||
|
||||
{
|
||||
this.p = p
|
||||
System.out?.println(p++)
|
||||
System.out?.println(p)
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user