J2K: use of new syntax for class intialization blocks
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
class C(p: Int) {
|
||||
private val p: Int
|
||||
|
||||
{
|
||||
init {
|
||||
var p = p
|
||||
this.p = p
|
||||
System.out.println(p++)
|
||||
|
||||
Reference in New Issue
Block a user