[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
|
[news.eclipse.modeling.m2m] [ATL] sequence & collect
|
- From: not@xxxxxxxxxxxxx (Gediminas)
- Date: Fri, 16 Mar 2007 15:39:26 +0000 (UTC)
- Newsgroups: eclipse.modeling.m2m
- Organization: Eclipse
- User-agent: NewsPortal/0.36 (http://florian-amrhein.de/newsportal)
observe strange effect with sequence & collect:
items <- Sequence { classes->collect( class | thisModule.Do( class ) ) }
lazy rule Do {
...
to
a : MM!A { refB <- b },
b : MM!B { refC <- c },
c : MM!C {},
aa : MM!A { refB <- bb },
bb : MM!B { refC <- cc },
cc : MM!C {}
}
produces a in the items sequence and aa not in the items sequence. Why
this happen? I suggest, that must be items={a,aa}, not items={a}