-
Notifications
You must be signed in to change notification settings - Fork 144
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error messages are dreadful #34
Comments
#165 is another example of a dreadful error message. |
#171 changed things so that we all parsing and conversion is now done by the code generator, and the procedural macro does basically nothing. We therefore need to focus on ensuring that the output from the code generator is much better in case of trouble. |
Recent work (e.g. #219 but also previous work) has meant we now try to get past any unparseable items, and do codegen for all the rest. We therefore need two strategies here:
Other considerations:
|
I'm going to mark this as fixed once #357 lands, because although the error reporting needs continued improvement, the heavy lifts are done here. As of #357 the state of play is:
|
And... there's another thing we need to here. The "errors" added by |
#383 is an alternative 'fix' for that last bit... |
See #33 for an example of where we should make an effort here. I need to figure out the way
cxx
does this and follow that as best practice.The text was updated successfully, but these errors were encountered: