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

Improve description of errors in the OCL checker #202

Open
jcabot opened this issue Feb 6, 2025 · 0 comments
Open

Improve description of errors in the OCL checker #202

jcabot opened this issue Feb 6, 2025 · 0 comments
Labels
enhancement New feature or request OCL

Comments

@jcabot
Copy link
Collaborator

jcabot commented Feb 6, 2025

This OCL constraint is missing the "if" -> context Department inv:self.size>5 then self.boss.salary>2000 else true'

But instead of giving an error message related to this (saying something missing "if" or whatever) I get the following message -> Error: pop from empty list

(see the model example in issue #198 )

@jcabot jcabot added enhancement New feature or request OCL labels Feb 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request OCL
Projects
None yet
Development

No branches or pull requests

1 participant