| Summary: | Problem with call with qualified name | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Modeling] Acceleo | Reporter: | Stephane Begaudeau <stephane.begaudeau> | ||||
| Component: | Core | Assignee: | Project Inbox <acceleo-inbox> | ||||
| Status: | CLOSED INVALID | QA Contact: | |||||
| Severity: | normal | ||||||
| Priority: | P3 | CC: | laurent.goubet | ||||
| Version: | 3.0.0 | ||||||
| Target Milestone: | --- | ||||||
| Hardware: | All | ||||||
| OS: | All | ||||||
| Whiteboard: | |||||||
| Attachments: |
|
||||||
The OCL specification clearly states that qualified forms can only be used with an explicit source expression; so [eClass.org::eclipse::acceleo::module::template()/] is valid, but [org::eclipse::acceleo::module::template(eClass)/] is not. For the record, this is stated in section 7.5.6 of the OCL 2.3.1 specification. "For clarity, the qualified form may only be used with an explicit source expression." |
Created attachment 182596 [details] Screenshot of the problem This works: [eClass.org::eclipse::acceleo::module::template()/] [eClass.org::eclipse::acceleo::module::query()/] this doesn't work: [org::eclipse::acceleo::module::template()/] [org::eclipse::acceleo::module::query()/] [org::eclipse::acceleo::module::template(eClass)/] [org::eclipse::acceleo::module::query(eClass)/]