Community
Participate
Working Groups
1) Create a new Xpand project (EMF Sample) 2) Open the file GeneratorExtensions.ext and modify the extension: getter(Feature this) : this.type.model().types.first().name + "get"+name.toFirstUpper(); 3) Navigate to model(). As expected you'll get to Extensions.ext 4) Add the following extension to GeneratorExtensions.ext after getter(): Model model(Type this) : eContainer; (It's the same as in Extensions.ext) 4.1) Remark: I had expected an error marker since model(Type) was defined twice and the imported extension file is re-exported 5) Use F3 on the model() in type.model().types ... 6) You'll end up in Extensions.ext or on the duplicated model(Type this). It seems to depend on the "Erdwuptizität" - you may call it hashCode(). 7) Move the dupicated model(Type this) to the top of GeneratorExtensions.ext 8) Use F3 again. It's likely that the other one is chosen. It may be necesary to repeat those steps (5-8). I'ld really expect the behaviour to be deterministic from a user's point of view.
Fixed in V2.0.0
Requested via bug 522520. -M.