Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 310579 - containingDefinition setting not propagated across IfStatement.elseIf
Summary: containingDefinition setting not propagated across IfStatement.elseIf
Status: CLOSED FIXED
Alias: None
Product: M2T
Classification: Modeling
Component: Xpand (show other bugs)
Version: 1.0.0   Edit
Hardware: PC All
: P3 normal (vote)
Target Milestone: RC   Edit
Assignee: Darius Jockel CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-04-27 04:39 EDT by Erhard Weinell CLA
Modified: 2013-02-21 08:12 EST (History)
3 users (show)

See Also:
sven.efftinge: helios+


Attachments
Patch to fix #310579 (854 bytes, patch)
2010-04-27 04:40 EDT, Erhard Weinell CLA
sven.efftinge: iplog+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Erhard Weinell CLA 2010-04-27 04:39:13 EDT
Besides StatementWithBody.body, there is a second containment reference between Statements in the Xpand AST: IfStatement.elseIf - along which the containingDefinition is not propagated yet.
Comment 1 Erhard Weinell CLA 2010-04-27 04:40:15 EDT
Created attachment 166167 [details]
Patch to fix #310579
Comment 2 Sven Efftinge CLA 2010-05-10 10:07:54 EDT
patch looks good.
Comment 3 Darius Jockel CLA 2010-05-12 03:55:45 EDT
Patch applied
Comment 4 Karsten Thoms CLA 2013-02-21 08:12:07 EST
Bug resolved before Xpand 1.2 release date => Closing