Revert "improve abstraction for AssocList, fix bug in optional else (#315)" (#320)

This reverts commit bf6bb800c4.
This commit is contained in:
Dave Abrahams
2021-03-01 12:26:56 -05:00
committed by GitHub
parent 8b3bb7c5e9
commit f5300a84e5
55 changed files with 7431 additions and 293 deletions
+26 -1
View File
@@ -1 +1,26 @@
result: 0
********** source program **********
fn f Int: x -> Int {
return 0;
}
fn main () -> Int {
var Int: a = 0;
var Int: b = 1;
f(0 = a);
b = a;
return b;
}
********** type checking **********
--- step exp Int --->
--- step exp Int --->
--- step exp Int --->
--- step exp Int --->
--- step exp Int --->
--- step exp Int --->
--- step exp Int --->
--- step exp Int --->
15: type error in call
expected: Int
actual: Tuple(0 = Int)
EXIT CODE: 255