feat: improve semantic errors #15
Reference in New Issue
Block a user
No description provided.
Delete Branch "improve-semantic-errors"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
TypeMismatcherrors will now show the expected type, and what was found ("Got")foldLeftto go from left to right, rather than right-to-left which is was resulting in unituitive errors.nameproperty toBinaryOp, allowing errors to include the binary operator name (rather than just "binary operator")?is now<unknown-type>(this should happen very rarely)?[]is nowarraypair(?, ?)is nowpair?.added 1 commit
ba1b7d67- fix: return proper type in non-array index error (instead of `?`)Compare with previous version
changed the description
approved this merge request
mentioned in commit
ba5445a4c5