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

Update GrammarCells constraint checks to fix empty completion menus #679

Merged
merged 2 commits into from
Nov 7, 2023

Conversation

HeikoBecker
Copy link
Collaborator

The changes from #664 were causing some completion menus to become empty since the constraints were not set up to check for abstract dummy nodes. This PR addresses this issue by moving the earlier constraint test back to its original version. The filtering is then performed when building the concrete action list.

The dummy nodes were created too early, leading to artifically failing
constraints.
Copy link
Collaborator

@alexanderpann alexanderpann left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you add a test case for this?

The empty menu was triggered by whitelisting concepts in constraints.
@HeikoBecker
Copy link
Collaborator Author

Can you add a test case for this?

Done in latest commit.

@HeikoBecker HeikoBecker merged commit 1251c33 into maintenance/mps20213 Nov 7, 2023
@HeikoBecker HeikoBecker deleted the bugfix/grammarcells_constraints branch November 7, 2023 19:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants