initial version of codegen for objects

This commit is contained in:
Dmitry Jemerov
2011-06-16 18:26:01 +02:00
parent 67689f4ed2
commit a05b65f1a6
12 changed files with 151 additions and 61 deletions
@@ -0,0 +1,7 @@
object A {
val x: Int = 610
}
fun box() : String {
return if (A.x != 610) "fail" else "OK"
}