-
Notifications
You must be signed in to change notification settings - Fork 830
Parser: recover on missing union case names or representations #15058
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
Conversation
277bacf to
160d7bc
Compare
63a6e47 to
5f3d6a1
Compare
|
It's ready. |
KevinRansom
left a comment
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.
I quite like the parse tree mechanism to show the errors. But I would also like to see the changes visible to the user of the compiler or fsi. Does that make sense?
Head branch was pushed to by a user without write access
7dac632 to
e6c5728
Compare
e6c5728 to
a0553a5
Compare
Yeah, actually just normal fsharp diagnostics tests would be great. |
Yes, I've updated some of the tests in this PR. Plus, there are many new parser tests that show all the errors. |
Recover on various cases of missing union case names or representations: