Community
Participate
Working Groups
Build Identifier: 20100318-1801 It is not possible to add a number (such as 42) to a collection of type EInt using Xtend. Reproducible: Always Steps to Reproduce: Just create a metamodel class with two attributes: ei: EInt [0..1] eia: EInt [0..N] The following works in Xtend when filling an instance of that class: setEi(42) The following does not work in Xtend but results in an java.lang.ArrayStoreException: eia.add(42)
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.