Clean up text handling a bit:
- Rename IO.write -> IO.print. - Make IO.write not print a newline. - Support \u Unicode escapes in strings.
This commit is contained in:
@@ -2,5 +2,5 @@ var global = "global"
|
||||
// TODO: Forward reference to global declared after use.
|
||||
|
||||
fn {
|
||||
IO.write(global) // expect: global
|
||||
IO.print(global) // expect: global
|
||||
}.call
|
||||
|
||||
Reference in New Issue
Block a user