generate initializer blocks

This commit is contained in:
Dmitry Jemerov
2011-05-29 19:21:24 +04:00
parent 17f7ea9292
commit 6517a82ee1
3 changed files with 21 additions and 0 deletions
@@ -0,0 +1,13 @@
class C() {
public var f: Int
{
f = 610
}
}
fun box(): String {
val c = new C()
if (c.f != 610) return "fail"
return "OK"
}