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,10 +1,10 @@
import io;
import simple_print;
obj FirstObject {
var objectNum: int;
fun PrintSelf(a: int): void {
io::print(objectNum);
io::print(a);
simple_print::print(objectNum);
simple_print::print(a);
}
};
@@ -12,6 +12,6 @@ fun main(): int {
var wooObject: FirstObject;
wooObject.objectNum = 5;
wooObject.PrintSelf(7);
io::print("\n");
simple_print::print("\n");
return 0;
}