[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.modeling.m2m] Re: [ATL] result of undefined subSequence call on EMF virtual machine

Hi,

I opened bug #289416.

I look at the UML 2.0 OCL Specification (in the semantic part), it should be oclUndefined. In MDT/OCL, they choose to return null (see bug #244946 [2] and the discussion [3]).

Anyway both virtual machine are not consistent...

[1] <https://bugs.eclipse.org/bugs/show_bug.cgi?id=289416>
[2] <https://bugs.eclipse.org/bugs/show_bug.cgi?id=244946>
[3]
<http://dev.eclipse.org/newslists/news.eclipse.modeling.mdt.ocl/msg01451.html>

--
Regards,
Loïc

William Piers a écrit :
Hello,

There seems to be a miss in the return type of subSequence(start, end) when end < start. Could you report a bug about that ? (https://bugs.eclipse.org/bugs/enter_bug.cgi?product=M2M)

Thanks in advance,

William

Loïc Fejoz a écrit :
Oh by the way, I am using the EMF virtual machine!
Running with the regular machine does not throw an error but seem to still result with error...


PS: the code was maybe not the one to look at...