Bug 488742 - Contextual operations of type Element are unavailable at compile time
Summary: Contextual operations of type Element are unavailable at compile time
Status: NEW
Alias: None
Product: QVTo
Classification: Modeling
Component: Engine (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-03-01 04:06 EST by Christopher Gerking CLA
Modified: 2016-03-01 05:01 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Christopher Gerking CLA 2016-03-01 04:06:49 EST
When invoking an operation with context type Element on some user model element, the operation is not found during compilation:

mapping Element :: m() : EClass {...}


The following statement produces the respective compile error:

object EClass{}.map m();
Comment 1 Christopher Gerking CLA 2016-03-01 05:01:40 EST
Patch pushed to master.

Commit ID: b6e812335a0aabaf66642be9cf426cedd470b668