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

Wrong behavior while parsing a property call to an OCL-defined static property #48

Open
dblcdblu opened this issue Sep 12, 2013 · 0 comments
Assignees
Labels

Comments

@dblcdblu
Copy link
Member

While parsing the constraints

package resource::package01
context TestClass
inv: TestClass::staticDefinedProperty2
static def: staticDefinedProperty2 = true
endpackage

the OCL parser fails with an SemanticException in front of the invariant, although, a static property should be callable this way. It seems that this behavior only occurs, if the referred static property is defined in another OCL constraint and not in the model.

Related test case: org.dresdenocl.debug.test.unit.TestDebugConstraintKinds.testDefinitionStepInto06()

@ghost ghost assigned lschuetze Sep 12, 2013
@lschuetze lschuetze removed this from the Dresden OCL 3.3.0 milestone Feb 26, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants