Initial support for classes in scripts and REPL
This commit is contained in:
@@ -0,0 +1,3 @@
|
||||
>>> object Empty
|
||||
>>> "Empty" in Empty.toString()
|
||||
true
|
||||
@@ -0,0 +1,5 @@
|
||||
>>> object Life {
|
||||
... fun meaning() = 42
|
||||
... }
|
||||
>>> Life.meaning()
|
||||
42
|
||||
Reference in New Issue
Block a user