working on REPL: implemented previous lines importing
This commit is contained in:
@@ -0,0 +1,4 @@
|
||||
>>> fun foo() = 2
|
||||
null
|
||||
>>> foo()
|
||||
2
|
||||
@@ -0,0 +1,6 @@
|
||||
>>> val x = 1
|
||||
null
|
||||
>>> fun add1(y: Int) = x + y
|
||||
null
|
||||
>>> add1(999999)
|
||||
1000000
|
||||
Reference in New Issue
Block a user