Make IO a static class instead of a singleton.
This commit is contained in:
@@ -3,11 +3,11 @@ var global = "global"
|
||||
|
||||
class Foo {
|
||||
method {
|
||||
io.write(global)
|
||||
IO.write(global)
|
||||
}
|
||||
|
||||
static classMethod {
|
||||
io.write(global)
|
||||
IO.write(global)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user