Make IO a static class instead of a singleton.
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
var a = "global"
|
||||
{
|
||||
var a = "shadow"
|
||||
io.write(a) // expect: shadow
|
||||
IO.write(a) // expect: shadow
|
||||
}
|
||||
io.write(a) // expect: global
|
||||
IO.write(a) // expect: global
|
||||
Reference in New Issue
Block a user