Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 358713 - [pivot] Evaluation failure for ecore::EByte operations
Summary: [pivot] Evaluation failure for ecore::EByte operations
Status: CLOSED FIXED
Alias: None
Product: OCL
Classification: Modeling
Component: Core (show other bugs)
Version: 3.1.0   Edit
Hardware: PC Windows Vista
: P3 normal (vote)
Target Milestone: M4   Edit
Assignee: OCL Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-09-23 08:25 EDT by Ed Willink CLA
Modified: 2013-05-20 11:35 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ed Willink CLA 2011-09-23 08:25:58 EDT
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.
Comment 1 Ed Willink CLA 2011-11-09 02:51:36 EST
Support for EByte, EByteObject, EChar and ECharacterObject added.

Pushed to master for M4.
Comment 2 Ed Willink CLA 2013-05-20 11:35:50 EDT
CLOSED after a year in the RESOLVED state.