J2K: use of new syntax for class intialization blocks

This commit is contained in:
Valentin Kipyatkov
2015-03-25 19:20:06 +03:00
parent 4bfdcae972
commit 108a1f872c
26 changed files with 27 additions and 25 deletions
@@ -5,7 +5,7 @@ package test
public class Test(str: String) {
var myStr = "String2"
{
init {
myStr = str
}
@@ -4,7 +4,7 @@ package test
public class Test(str: String?) {
var myStr: String? = "String2"
{
init {
myStr = str
}