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:
@@ -1,8 +1,8 @@
|
||||
{
|
||||
var a = "outer"
|
||||
{
|
||||
IO.write(a) // expect: outer
|
||||
IO.print(a) // expect: outer
|
||||
var a = "inner"
|
||||
IO.write(a) // expect: inner
|
||||
IO.print(a) // expect: inner
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user