[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[news.eclipse.modeling.m2m] [ATL] sequence & collect


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}