Add TextWriter, IOException, per-VM module data and pre-load imports; Add console module with Console class
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
import 'console';
|
||||
class Program {
|
||||
|
||||
private int test() {
|
||||
@@ -15,9 +16,9 @@ class Program {
|
||||
} else if($b == 3) {
|
||||
break;
|
||||
}
|
||||
print("$b\n");
|
||||
Console::Print("$b\n");
|
||||
}
|
||||
print("$c\n");
|
||||
Console::Print("$c\n");
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user