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