Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
"What the heck is an infix stopper?!" #2115
A user on #2110 mentioned the infix stopper and I recall having a discussion about its presence in the error message about 2 years ago...
However, I still don't know what the heck is an infix stopper either. Maybe it should be reworded/removed from the error?
An infix stopper is something that tells us we should not try to parse an infix at this point. Consider
The "expected" list is generated by seeing what we were looking for at the the high watermark when the parse failed. In various cases, however, the high watermark expectations list doesn't add any value (I think including the case discusses in #2110).
I think we should probably add a method that is called by the code that renders compile-time exceptions to ask if we should include the expectation data. Then we can override that like