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