Bug 439352 - Code assist does not work if using transformation declaration with braces
Summary: Code assist does not work if using transformation declaration with braces
Status: UNCONFIRMED
Alias: None
Product: QVTo
Classification: Modeling
Component: UI (show other bugs)
Version: 3.4.0   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-07-10 10:12 EDT by Sebastian Lehrig CLA
Modified: 2014-07-10 10:13 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sebastian Lehrig CLA 2014-07-10 10:12:45 EDT
According to the QVT-O Spec Section 8.1.1, two styles of transformation declarations are allowed:

1) 
transformation Uml2Rdbms(in uml:UML,out rdbms:RDBMS) {
...
}

2)
transformation Uml2Rdbms(in uml:UML,out rdbms:RDBMS);

...

("If the source text file defines a unique transformation, the content of the transformation definition does not need to be
placed within braces.")

Even though both variants can correctly be interpreted, the editor behaves different for them. For variant 1), the code assist does not work. However, it does work for variant 2). Therefore, this seems to be a bug in the editor.