Initial support for classes in scripts and REPL
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
class SimpleClass(val s: String) {
|
||||
fun foo() = s
|
||||
}
|
||||
|
||||
SimpleClass("OK").foo()
|
||||
|
||||
// expected: rv: OK
|
||||
Reference in New Issue
Block a user