eclipse-ocl / org.eclipse.ocl

Eclipse Public License 2.0
0 stars 0 forks source link

[OCLinEcore] Parse error for generics in Eopposite feature #1695

Closed eclipse-ocl-bot closed 3 hours ago

eclipse-ocl-bot commented 3 hours ago

| --- | --- | | Bugzilla Link | 492800 | | Status | RESOLVED FIXED | | Importance | P3 normal | | Reported | May 02, 2016 04:36 EDT | | Modified | May 02, 2016 08:50 EDT | | Reporter | Rolf Theunissen |

Description

Created attachment 261400\ Ecore model with parse error in OCLinEcore

Parse errors occur in the OCLinEcore editor on a valid Ecore model with: an EClass with an attribute with an generic type, and an EOpposite defined on this same attribute.

See the attached Ecore model.

example.ecore

eclipse-ocl-bot commented 3 hours ago

By Ed Willink on May 02, 2016 08:50

Thanks. Excellent repro, and pretty close diagnosis.

Actual problem is that PropertyAttribution considers only Classes, silently ignoring the TemplateParameter alternative.

commit 14a35de8b1b50b7680d4dfaefa163d573401ccfa

pushed to master for M7.