eclipse-ocl / org.eclipse.ocl

Eclipse Public License 2.0
0 stars 0 forks source link

[pivot] Evaluation failure for ecore::EByte operations #781

Closed eclipse-ocl-bot closed 1 month ago

eclipse-ocl-bot commented 1 month ago

| --- | --- | | Bugzilla Link | 358713 | | Status | CLOSED FIXED | | Importance | P3 normal | | Reported | Sep 23, 2011 08:25 EDT | | Modified | May 20, 2013 11:35 EDT | | Version | 3.1.0 | | Reporter | Ed Willink |

Description

The following example

import ecore : 'http://www.eclipse.org/emf/2002/Ecore#/';

package Vlad : pfx = 'platform:/resource/Vlad/model/Vlad.oclinecore' {

class A {\ property ab : ecore::EByte;\ property as : ecore::EShort;\ property ai : ecore::EInt;\ } \ }

fails to evaluate (unresolved dynamic operation)

self.ab +1

The problem is a missing if case for EByte in valueFactoryImpl.valueOf.

eclipse-ocl-bot commented 1 month ago

By Ed Willink on Nov 09, 2011 02:51

Support for EByte, EByteObject, EChar and ECharacterObject added.

Pushed to master for M4.

eclipse-ocl-bot commented 1 month ago

By Ed Willink on May 20, 2013 11:35

CLOSED after a year in the RESOLVED state.