Make IO a static class instead of a singleton.
This commit is contained in:
+1
-1
@@ -1,6 +1,6 @@
|
||||
class Foo {}
|
||||
|
||||
var foo = new Foo
|
||||
io.write(foo is Foo) // expect: true
|
||||
IO.write(foo is Foo) // expect: true
|
||||
|
||||
// TODO: Test precedence and grammar of what follows "new".
|
||||
|
||||
Reference in New Issue
Block a user