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

rule ruleSolution failed predicate: {getUnorderedGroupHelper().canLeave(grammarAccess.getSolutionAccess().getUnorderedGroup_3())}? #16

Closed
Hofschn8 opened this issue Sep 25, 2020 · 2 comments

Comments

@Hofschn8
Copy link

Hello, when i try to create a .mdal file (yours demo file is working) - i get following Error :

rule ruleSolution failed predicate: {getUnorderedGroupHelper().canLeave(grammarAccess.getSolutionAccess().getUnorderedGroup_3())}?

image

Hopefully you can help
BR

@joneug joneug transferred this issue from modal-dsl/modal-demo Sep 25, 2020
@joneug
Copy link
Member

joneug commented Sep 25, 2020

At the moment it is mandatory to define all table types inside a solution (except for supplemental). So in addition to the master definition, you would have to specify a document and the ledgerEntry as it is done in the demo. I understand that you might not need the other two. I am working on making these other two optional so that your example will work. This improvement is planned for the next release.

This problem is already tracked in #14. So I am closing this issue.

@joneug
Copy link
Member

joneug commented Dec 16, 2020

This issue was fixed in version 0.4.0 of the mdAL VS Code Extension. Please update your installation and the example you provided should work.

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

No branches or pull requests

2 participants