Hi,
I got the following error:
Operation not found: [].notEmpty()
After investigation it is due to the call of notEmpty over the result of
subSequence(2, sizeOfSequence) with sizeOfSequence being strictly less
than 2.
My question is: what is the kind of this object []?
I would have expected the result to be either oclUndefined or the empty
sequence Sequence{}! Before calling notEmpty I checked for oclUndefiness
so it must be something.
Moreover looking at the code of ASMSequence, it seems that the result is
an ASMSequence anyway. So where is the bug?
<http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.m2m/org.eclipse.m2m.atl/plugins/org.eclipse.m2m.atl.engine.vm/src/org/eclipse/m2m/atl/engine/vm/nativelib/ASMSequence.java?revision=1.5&root=Modeling_Project&view=markup>