Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 357372 - [editor] show references does not work with polymorphism
Summary: [editor] show references does not work with polymorphism
Status: CLOSED FIXED
Alias: None
Product: Acceleo
Classification: Modeling
Component: Core (show other bugs)
Version: 3.1.0   Edit
Hardware: PC Linux
: P3 normal
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-09-12 09:02 EDT by Bouchet Stéphane CLA
Modified: 2016-04-11 08:31 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 Bouchet Stéphane CLA 2011-09-12 09:02:09 EDT
Hi,

given the following example : 

[comment encoding = UTF-8 /]
[module test('http://www.eclipse.org/emf/2002/Ecore')]


[template public main(p : EPackage)]
[for (c : EClass | p.eClassifiers->filter(EClass))]
	[c.gen()/]
[/for]
[/template]

[template public gen (c : EClass) ? (c.abstract)]
	abstract
[/template]

[template public gen (c : EClass) ? (not c.abstract)]
	not abstract
[/template]

doing a show references on line [c.gen()/] does not show all the gen templates.

Renaming is also affected.


[
Comment 1 Eclipse Genie CLA 2016-04-05 05:05:19 EDT
New Gerrit change created: https://git.eclipse.org/r/69883