Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 342116

Summary: [Xtend] Always put members of XtendClass on the scope
Product: [Modeling] TMF Reporter: Sven Efftinge <sven.efftinge>
Component: XtextAssignee: Project Inbox <tmf.xtext-inbox>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P3 Flags: sven.efftinge: indigo+
Version: 2.0.0   
Target Milestone: M7   
Hardware: PC   
OS: Mac OS X - Carbon (unsup.)   
Whiteboard:

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