Supported SAM constructors in codegen (simplest case).

This commit is contained in:
Evgeny Gerashchenko
2013-03-13 20:57:46 +04:00
parent 8f34dea4c8
commit 835c0f85c7
7 changed files with 99 additions and 14 deletions
@@ -0,0 +1,8 @@
fun box(): String {
val o = "O"
var result = ""
val r = Runnable { result = o + "K" } //capturing local vals and local var
r.run()
return result
}