| Summary: | Allow to create lists with duplicated references | ||
|---|---|---|---|
| Product: | [Modeling] MMT.ATL | Reporter: | Ralph Gerbig <ralphgerbig> |
| Component: | Engine | Assignee: | mmt-atl.toolkit-inbox <mmt-atl.toolkit-inbox> |
| Status: | NEW --- | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | william.piers |
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows 7 | ||
| Whiteboard: | |||
Normally ATL shouldn't remove duplicates from the sequence. Could you check that the "list" reference handle duplicates ? i.e. that the "unique" property of the "list" EReference is set to false. By default, EMF sets it to true, which may lead to the issue you encounter. |
Hi, I have lists that allow duplicated references in my EMF model. However ATL seems to be not able to write duplicated references into these list. I have the following code: list <- Sequence{ReferenceToA, ReferenceToA} In my target model the list contains only one times ReferenceToA.