Adding more tests for the typechecking phase

This commit is contained in:
elvis
2024-10-24 16:27:57 +02:00
parent 733834a5a7
commit ec966ba67f
2 changed files with 157 additions and 0 deletions

View File

@ -1,3 +1,12 @@
Error absent assignment program: error
Error wrong arity program 1: error
Error wrong arity program 2: error
Error wrong return type program: error
Error wrong specification program: error
Error wrong input type program: error
Error not a function program: error
Error if branches with different types program: error
Error if guard is not a boolean program: error
Identity program: true
Constant program: true
Partial application of function program: true