[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
|
[news.eclipse.modeling.m2m] Re: [ATL] sequence & collect
|
Collect() should not store a and aa with their types. Collect() only
apply an Ocl expression to each element of a collection. This ocl
expression is your lazy rule returning one or more elements.
Regards,
Mikael
Gediminas wrote:
Mikael, I'll try, but in my case a is not the same as aa - only types
matches; there are no errors or warnings of bad types & etc
And I suppose, collect should store bothh (a and aa) in a collection.
Why collect so behaves? is this ATL feature?
--
Mikaël Barbero - PhD Candidate
ATLAS Group (INRIA & LINA) - University of Nantes
2, rue de la Houssinière
44322 Nantes Cedex 3 - France
tel. +33 2 51 12 58 08 /\ cell.+33 6 07 63 19 00
email: Mikael.Barbero@{gmail.com, univ-nantes.fr}
http://www.sciences.univ-nantes.fr/lina/atl/