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,6 @@
>>> open class A(val result: String) {
... fun foo() = result
... }
>>> class B : A("OK")
>>> B().foo()
OK