Make IO a static class instead of a singleton.
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
class Foo {
|
||||
write { io.write(_field) } // Compile a use of the field...
|
||||
write { IO.write(_field) } // Compile a use of the field...
|
||||
init { _field = "value" } // ...before an assignment to it.
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user