Add a proper error message for unhandled effects #171
Labels
error reporting
For issues related to error message quality or the reporting of diagnostics in general
good first issue
An issue that doesn't require deep knowledge of the compiler to fix or implement
type system
For issues related to Ante's type system
Currently if there are unhandled effects that percolate up to top-level the compiler will fail an assert and panic. To fix this, a proper error message should be issued to inform the user of the unhandled effects (ideally with the original locations of these effects).
See https://github.com/jfecher/ante/blob/master/src/types/typechecker.rs#L1448
E.g.
The text was updated successfully, but these errors were encountered: