Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 312630 - [Xtend] Unexpected behaviour with duplicate imports
Summary: [Xtend] Unexpected behaviour with duplicate imports
Status: CLOSED WONTFIX
Alias: None
Product: M2T
Classification: Modeling
Component: Xpand (show other bugs)
Version: 1.0.0   Edit
Hardware: PC Mac OS X - Carbon (unsup.)
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-05-12 10:17 EDT by Sebastian Zarnekow CLA
Modified: 2020-04-30 13:55 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sebastian Zarnekow CLA 2010-05-12 10:17:09 EDT
1) Use the EMF example
2) Copy Extensions.ext to Extensions2.ext
3) Add an additional import of Extensions2.ext to GeneratorExtensions.ext
4) I'ld expect at least a warning that the imported extension files contain duplicate extensions especially since the are reexported and thereby define the interface of GeneratorExtensions
5) Copy the content of Extensions.ext to GeneratorExtensions.ext
6) As this setup may lead to various inconsistencies I'ld expect a warning for the duplicated extensions as well
Comment 1 Karsten Thoms CLA 2020-04-30 13:55:15 EDT
This is a batch close of open M2T Xpand bugs. It is not planned work on this component in the foreseeable future. If you think this issue needs to be solved and you plan to contribute a fix then feel free to reopen it.