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

Bug 340735

Summary: Tuple are not recognize in templates
Product: [Modeling] Acceleo Reporter: Stephane Begaudeau <stephane.begaudeau>
Component: CoreAssignee: Project Inbox <acceleo-inbox>
Status: CLOSED WONTFIX QA Contact:
Severity: normal    
Priority: P3 CC: dave, matt.potter
Version: 3.0.0   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:

Description Stephane Begaudeau CLA 2011-03-23 05:31:57 EDT
You can't manipulate OCL Tuples in Acceleo templates, yet it seems to work in queries.
Comment 1 Stephane Begaudeau CLA 2012-04-20 04:00:46 EDT
This issue comes from the parser that parser this:

[template myTemplate(var: Tuple(String, String)]

as the header of a template with two variables: "var: Tuple(String" and "String". The problem exists with queries too.
Comment 2 Stephane Begaudeau CLA 2014-05-20 08:05:02 EDT
We won't fix this issue.
Comment 3 David Akehurst CLA 2014-05-20 12:49:06 EDT
Any reason why?

Though it is not a major issue, it seems incomplete without it
and it would be handy!
Comment 4 Stephane Begaudeau CLA 2014-05-27 03:45:43 EDT
In order to make it work, we would need to change the way the parser is working and then ensure the necessary support in the engine and tooling. I suspect that it will not be a trivial task at all. We have some upcoming work on Acceleo that will require most of our attention so it won't give us the time nor the will to modify critical components of the architecture for some features that are not critical.