| Summary: | Compilation issue in name expression of a file block | ||
|---|---|---|---|
| Product: | [Modeling] Acceleo | Reporter: | Gonzague Reydet <gonzague.reydet> |
| Component: | Core | Assignee: | Project Inbox <acceleo-inbox> |
| Status: | CLOSED WORKSFORME | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | stephane.begaudeau |
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows Vista | ||
| Whiteboard: | |||
Works for me in Acceleo 3.1.0 M6. |
Build Identifier: 3.0.1 The following Acceleo snippet does not compile on a mtl module file on the UML metamodel. [template public Generate_interface(i : Interface)] [file (i.name.concat('.txt'), false, 'UTF-8')] [/file] [/template] The compilation error is "Unrecognized variable: (name)" on the file line. Replacing i by self or removing it fixes this issue. Reproducible: Always