You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Acceleo's EvaluationServices implicitely turns the first argument into a list (see collectionServiceCall#L233). The name "collectionServiceCall" here seems suspicious: why a collection service?
Actually, it looks like every Call instance representing a call made with -> is set to "COLLECTIONCALL":
Bug description
Calling a service through
->
on a scalar may not lead to the expected result:Additional context
Cause
Acceleo's
EvaluationServices
implicitely turns the first argument into a list (see collectionServiceCall#L233). The name "collectionServiceCall" here seems suspicious: why a collection service?Actually, it looks like every
Call
instance representing a call made with->
is set to "COLLECTIONCALL":ale-lang/plugins/org.eclipse.emf.ecoretools.ale.core/src/org/eclipse/emf/ecoretools/ale/core/parser/Query.g4
Line 49 in 728195a
Solution
Replace
#CollectionCall
with#CallOrApply
and adapt the code accordingly.The text was updated successfully, but these errors were encountered: