more error messages and better unification

This commit is contained in:
sebastianselander 2023-03-24 18:21:07 +01:00
parent 867485be12
commit 56ccd793ac
6 changed files with 110 additions and 110 deletions

View file

@ -1,5 +1,8 @@
add : Int ;
add = 5;
add = 4;
main : Int ;
main = add ;
main = case add of {
5 => 0;
_ => 1;
};