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 @@
>>> class A { override fun toString() = "A" }
>>> val a = A()
>>> a
A
>>> a.toString()
A