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:
@@ -22,6 +22,10 @@ fun println(to_print: double) {
|
||||
print(to_print)
|
||||
print("\n")
|
||||
}
|
||||
fun println(to_print: bool) {
|
||||
print(to_print)
|
||||
print("\n")
|
||||
}
|
||||
fun print(to_print: *char) {
|
||||
__if_comp__ __C__ simple_passthrough(to_print::) """
|
||||
printf("%s", to_print);
|
||||
@@ -48,4 +52,8 @@ fun print(to_print: double) {
|
||||
printf("%f", to_print);
|
||||
"""
|
||||
}
|
||||
fun print(to_print: bool) {
|
||||
if (to_print) print("true")
|
||||
else print("false")
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user