repl: default printing fix and test
parent
decdd8be9f
commit
2ba1edaa80
|
@ -1349,7 +1349,7 @@ fn run_repl() []string {
|
|||
}
|
||||
lines << line
|
||||
vals := s.split('\n')
|
||||
for i:=0; i<vals.len-1; i++ {
|
||||
for i:=0; i<vals.len; i++ {
|
||||
println(vals[i])
|
||||
}
|
||||
}
|
||||
|
|
|
@ -0,0 +1,7 @@
|
|||
num := 1
|
||||
string := 'Hello'
|
||||
num
|
||||
string
|
||||
===output===
|
||||
1
|
||||
Hello
|
Loading…
Reference in New Issue