|Re: [Acceleo 3] index inside for [message #762021 is a reply to message #760087]
||Wed, 07 December 2011 07:49
Sorry for the delay of my answer
> The "i" variable is there since 3.0 and should be recognized whenever
> you are inside of a for. Which version of Acceleo are you using? Maybe
> you could you provide us with a sample module that presents this issue?
> A basic test on my side did compile correctly.
Here the code I use :
[for (str : String | sm.eAllContents(State)
->select(s | not(s.isComposite))
->collect(st | sm.getNormalizedName().toUpper() +
st.getNormalizedName().toUpperFirst()) ) separator (',\n')]
And the error is :
Error : An error occured while saving generate.emtl : The object 'i :
Integer' is not contained in a resource.
My version of acceleo is : 3.1.1 (2011 14 09)
What do I miss ?
Powered by FUDForum
. Page generated in 0.06815 seconds