Community
Participate
Working Groups
Build Identifier: 3.0.3.v20110302-0402 Given an Acceleo project where : * module generate('http://my/1') - import mod2 * module mod2('http://www.eclipse.org/emf/2002/Ecore') * template public mod2::mod2(n : ELong) When template mod2::mod2 is invoked from module generate, the following error is reported : "illegal operation signature: (mod2(Integer))" Workaround: add the ecore NSURI to the declaration of module generate: module generate('http://my/1', 'http://www.eclipse.org/emf/2002/Ecore') Reproducible: Always
Created attachment 198116 [details] test project showing the spurious error
This is the intended behavior. In order to compile an Acceleo module, all the metamodels defining all the concepts used in the module have to be *explicitly* declared. One should be able to determine quickly what metamodels are used by a module.
Closing our "resolved" and "verified" bugs.