-
Notifications
You must be signed in to change notification settings - Fork 785
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
Improve error reporting: Missing = on type declaration #9642
Conversation
It is better to consider they are in .gitignore (despite they aren't), and not check them in unless explicitly asked during the review. |
Not 100% sure, but maybe the xlf files had something to do with: #9641 I do know that they need to be rebuild when texts change, so that the translation team gets notified to translate the new texts. That that means that there's a bunch of changes at once seems to me to be expected. |
b0e3b10
to
81a96aa
Compare
81a96aa
to
2d4d77f
Compare
I've:
|
This is taken from the end of the list of idents. While the spec says this should be an ident not a long-ident, the parser doesn't enforce this, so we assume it has at least one item but don't check.
I've amended this to include the type name in the error message. The I may be missing something, but unless someone lets me know better I will write this up into an issue and consider having a go at changing this. I assume it is better to catch a spec syntax error in the parser than in the type checker? |
Yes, absolutely :) @dsyme any thoughts on the spec-y question? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for this work, it is great!
This is my attempt to implement #1121, leaning on the start made in #6603.
This is my first contribution, so feedback appreciated!
I'm not quite sure what's happening with the xlf files. Is it possible a previous commit on master forgot to generate them?