Wooo! Fixed up remaining bugs in new syntax!

This commit is contained in:
Nathan Braswell
2015-05-09 06:24:56 -04:00
parent acf751c016
commit 87e1853713
47 changed files with 277 additions and 284 deletions

View File

@@ -1,12 +1,12 @@
import vector:*;
import io:*;
template <T> |T| test(|vector<T>| a) {
fun test<T>(a: vector<T>): T {
return a.at(0);
}
|int| main() {
|vector<int>| a.construct();
fun main(): int {
var a.construct(): vector<int>;
a.addEnd(2);
println(test<int>(a));
return 0;