Make IO a static class instead of a singleton.
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.write(global) // expect: global
|
||||
}.call
|
||||
|
||||
Reference in New Issue
Block a user