Port many tests and fix small bugs revealed in Kalypso (passes 24/72) - tests have also revealed more extensive features not yet implemented, and I seem to have messed up a test or two so that the C++ version also fails a couple more (it's at 59/71 now). Will investigate

This commit is contained in:
Nathan Braswell
2016-02-07 16:22:55 -05:00
parent 6aeb5c33f5
commit 11eba1ba07
39 changed files with 99 additions and 76 deletions

View File

@@ -1,4 +1,4 @@
import io;
import simple_print;
obj ClassWithConstructor {
var data: int;
@@ -7,7 +7,7 @@ obj ClassWithConstructor {
return this;
}
fun printData(): void {
io::println(data);
simple_print::println(data);
}
};
@@ -15,6 +15,6 @@ fun main(): int {
var object.construct(4): ClassWithConstructor;
object.printData();
var a :int = 8;
io::println(a);
simple_print::println(a);
return 0;
}