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:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user