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

Bug 357372

Summary: [editor] show references does not work with polymorphism
Product: [Modeling] Acceleo Reporter: Bouchet Stéphane <sbouchet>
Component: CoreAssignee: Project Inbox <acceleo-inbox>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: laurent.goubet
Version: 3.1.0   
Target Milestone: ---   
Hardware: PC   
OS: Linux   
See Also: https://git.eclipse.org/r/69883
https://git.eclipse.org/c/acceleo/org.eclipse.acceleo.git/commit/?id=ed00c444416e44c14430565668a354153d3095e5
Whiteboard:

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