Improve error reporting on let-ins missing a body like val foo = 1
#1536
Labels
error messages
Collects issues steming from poor error messages
UX
impacts or improves user experience
Having this type of error on the ANTLR scope is really bad, because it is never able to provide a useful error and many times this breaks parsing of anything below the partial expression. This is a very common problem because even advanced users will write this type of partial expressions on WIP definitions, and it breaks analysis much more than it should.
The grammar should be fine in expressions like this, and then we can report a missing body in
toIrListener
.The text was updated successfully, but these errors were encountered: