CHANGES entry on Solver errors

This commit is contained in:
Gabriel Scherer 2023-02-22 17:41:08 +01:00
parent 547d59c1ee
commit c98638bb21
1 changed files with 10 additions and 0 deletions

View File

@ -2,6 +2,16 @@
## 2022/06/03
* **Incompatible** changes to the Solver error-handling logic: instead of
raising several different exceptions, the solver now raises a single Error
exception carrying a datatype indicating the error case.
All errors now consistently report the source location when
available (if it was provided when building the constraint). This
improves in particular the error-reporting behavior of our
demonstration client, which is now able to show source locations on
type-checking errors.
* Support for rigid variables, that is, variables that cannot be unified with
other rigid variables or with older flexible variables. These variables are
introduced by the new combinators `letr1` and `letrn`. The exception