Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 342116 - [Xtend] Always put members of XtendClass on the scope
Summary: [Xtend] Always put members of XtendClass on the scope
Status: CLOSED FIXED
Alias: None
Product: TMF
Classification: Modeling
Component: Xtext (show other bugs)
Version: 2.0.0   Edit
Hardware: PC Mac OS X - Carbon (unsup.)
: P3 normal (vote)
Target Milestone: M7   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-04-07 04:26 EDT by Sven Efftinge CLA
Modified: 2017-09-19 17:25 EDT (History)
0 users

See Also:
sven.efftinge: indigo+


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sven Efftinge CLA 2011-04-07 04:26:39 EDT
Because we allow to override 'this' the members of the XtendClass are no longer visible in that case.
In order to solve Bug 341753 we need to put the members on the scope no matter what 'this' is bound to.

The scoping precedence is

- local variables (each block from inner to outer)
- method parameters
- XtendClass members
- members of 'this'
Comment 1 Sven Efftinge CLA 2011-04-08 05:30:10 EDT
pushed to master
Comment 2 Karsten Thoms CLA 2017-09-19 17:13:48 EDT
Closing all bugs that were set to RESOLVED before Neon.0
Comment 3 Karsten Thoms CLA 2017-09-19 17:25:29 EDT
Closing all bugs that were set to RESOLVED before Neon.0