implementation of useful error messages
This commit is contained in:
parent
2ce8200366
commit
c12e763b28
14 changed files with 295 additions and 68 deletions
13
test-inputs/test_error_messages.flup
Normal file
13
test-inputs/test_error_messages.flup
Normal 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
|
Loading…
Add table
Add a link
Reference in a new issue