Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 340735 - Tuple are not recognize in templates
Summary: Tuple are not recognize in templates
Status: CLOSED WONTFIX
Alias: None
Product: Acceleo
Classification: Modeling
Component: Core (show other bugs)
Version: 3.0.0   Edit
Hardware: All All
: P3 normal
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-03-23 05:31 EDT by Stephane Begaudeau CLA
Modified: 2014-05-27 03:45 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.