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