-
Notifications
You must be signed in to change notification settings - Fork 64
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
Fix for error reporting bug #1787
Conversation
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.
Certainly I am happy that we are phasing out this Xtext magic. I left a quibble regarding how the error message is presented.
org.lflang/src/org/lflang/federated/generator/FedGenerator.java
Outdated
Show resolved
Hide resolved
I am not passing the error message through the error reporter, which is messy, but I think that is OK. This fault condition "should never happen" so if we reach it then the compiler is already misbehaving.
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.
LGTM! Thanks for fixing this.
Note that this is a symptom of the problem described in #1761. Fixes #1785.