Typo of any
vs Any
resulted in an unhelpful error message
#73928
Labels
diagnostics QoI
Bug: Diagnostics Quality of Implementation
parser
Area → compiler: The legacy C++ parser
Motivation
I was experimenting with some features from SE-420, and I made a typo. I found it quite hard to figure out what was going on from the error message produced. I have no idea if such a thing is possible to handle more gracefully, but I thought I'd point it out anyways.
And here are the warnings being produced:
Proposed solution
I think it would be great if I could get some feedback about the possibility that I just typoed here. Especially in this specific example, I think
Any
is actually totally invalid. But, it would be even cooler if it could be solved more generally.Alternatives considered
No response
Additional information
No response
The text was updated successfully, but these errors were encountered: