Files
wren/test/class/new.wren
T
Bob Nystrom b979272305 Clean up text handling a bit:
- Rename IO.write -> IO.print.
- Make IO.write not print a newline.
- Support \u Unicode escapes in strings.
2014-01-05 12:27:12 -08:00

7 lines
130 B
Plaintext

class Foo {}
var foo = new Foo
IO.print(foo is Foo) // expect: true
// TODO: Test precedence and grammar of what follows "new".