Skip to content
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

Merged
merged 5 commits into from
May 26, 2023
Merged

Fix for error reporting bug #1787

merged 5 commits into from
May 26, 2023

Conversation

lhstrh
Copy link
Member

@lhstrh lhstrh commented May 26, 2023

Note that this is a symptom of the problem described in #1761. Fixes #1785.

Copy link
Collaborator

@petervdonovan petervdonovan left a 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.

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.
@lhstrh lhstrh enabled auto-merge May 26, 2023 06:40
Copy link
Collaborator

@edwardalee edwardalee left a 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.

@lhstrh lhstrh disabled auto-merge May 26, 2023 22:51
@lhstrh lhstrh merged commit ccef3da into master May 26, 2023
@lhstrh lhstrh deleted the fix-1785 branch May 26, 2023 22:53
@lhstrh lhstrh changed the title Fix for #1785 Fix for error reporting bug Aug 28, 2023
@lhstrh lhstrh added the bugfix label Aug 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Compiling a federation succeeds even if one federate fails
3 participants