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

Bug 312630

Summary: [Xtend] Unexpected behaviour with duplicate imports
Product: [Modeling] M2T Reporter: Sebastian Zarnekow <sebastian.zarnekow>
Component: XpandAssignee: Project Inbox <m2t.xpand-inbox>
Status: CLOSED WONTFIX QA Contact:
Severity: normal    
Priority: P3    
Version: 1.0.0   
Target Milestone: ---   
Hardware: PC   
OS: Mac OS X - Carbon (unsup.)   
Whiteboard:

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.