Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF "Technology" (Ecore Tools, EMFatic, etc)  » 'insertAt' operation..................................
'insertAt' operation.................................. [message #566003] Tue, 07 February 2006 06:54
Shrawanika is currently offline ShrawanikaFriend
Messages: 12
Registered: July 2009
Junior Member
Hi,

Isn't it a valid Ocl expression? -

OrderedSet{5,15,20}->insertAt(2,10)

Evaluating this expression, I am getting this error:

org.eclipse.emf.ocl.helper.OclParsingException[1]:
illegal operation signature:
(OrderedSet(Integer).insertAt(Integer, Integer))

In the source code, it is specified like 'OrderedSet,
Sequence::insertAt(Integer, T)' but it should work well with Integers also.

-Shrawanika
Previous Topic:Always getting result as 'true' in 'isUnique' operation
Next Topic:'insertAt' operation..................................
Goto Forum:
  


Current Time: Thu Oct 06 21:21:30 GMT 2022

Powered by FUDForum. Page generated in 0.02140 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top