mirror of
https://github.com/wren-lang/wren.git
synced 2026-01-18 13:49:59 +01:00
Execute input in the REPL.
Guesses whether the input is an expression or statement and handles it appropriately. Finally, after over a year, the Wren REPL automatically prints "3" if you type in "1 + 2". \o/
This commit is contained in:
5
test/language/variable/newline_after_equals.wren
Normal file
5
test/language/variable/newline_after_equals.wren
Normal file
@ -0,0 +1,5 @@
|
||||
var foo =
|
||||
|
||||
|
||||
123
|
||||
System.print(foo) // expect: 123
|
||||
Reference in New Issue
Block a user