topLevelVarInit finally works, even with infrencing

This commit is contained in:
Nathan Braswell
2015-06-19 12:48:18 -04:00
parent 3a87970eb3
commit e77af0d584
5 changed files with 13 additions and 14 deletions

View File

@@ -1,8 +1,10 @@
import io;
var a: int = 42;
var b = "hi";
fun main(): int {
io::println(a);
io::println(b);
return 0;
}