Community
Participate
Working Groups
When migrating a sentence from Acceleo 2 to Acceleo 3 with more than 1 parameter using the mt2mtl module it generates headers such as: [template public packagePath(element : Element, args0 : String) post(trim())] Which are correct, but them, when migrating the calls to these templates it generates calls such as: [packagePath('/')/]/[name/].java The implicit parameter 'self' is not taken into account and exceptions are raised, it only works explicetily telling to use the parameter self: [packagePath(self, '/')/]/[name/].java Nevertheless with templates with only one parameter it isn't needed to explicitely tell the template to use the self parameter.
Contributed and available in Acceleo 3.0.1 SR1 and Acceleo 3.1.0 M2 *** This bug has been marked as a duplicate of bug 320474 ***