Some bugfixes/added errors, convert most to not use simple_passthrough

This commit is contained in:
Nathan Braswell
2016-04-30 15:38:28 -04:00
parent d126cbf24b
commit 7aa1d9983b
77 changed files with 260 additions and 600 deletions

View File

@@ -1,13 +1,13 @@
import simple_print;
import io;
fun addAndPrint<T>(a: T, b: T): T {
simple_print::print(a+b);
io::print(a+b);
return a+b;
}
fun main(): int {
addAndPrint<int>(10,12);
simple_print::print("\n");
io::print("\n");
return 0;
}