implementation of useful error messages

This commit is contained in:
vegowotenks 2024-10-10 18:59:17 +02:00
parent 2ce8200366
commit c12e763b28
14 changed files with 295 additions and 68 deletions

View file

@ -0,0 +1,13 @@
# test stack pop while stack empty in builtin-function equal
# 0 ==
# test incompatible types
# 1 1.1 +
# test expected identifier for type in function param list
# a: 1 b -> int
# |1 -> 0
# test expected identifier for name in function param list
a: int 1 -> int
|1 -> 0