Initial support for classes in scripts and REPL

This commit is contained in:
Alexander Udalov
2014-07-07 03:53:02 +04:00
parent c873806b54
commit 415fe7a5e6
18 changed files with 177 additions and 5 deletions
@@ -0,0 +1,7 @@
class SimpleClass(val s: String) {
fun foo() = s
}
SimpleClass("OK").foo()
// expected: rv: OK