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