Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 320689

Summary: [editor] OclAny not considered for Enum and DataType
Product: [Modeling] OCL Reporter: Ed Willink <ed>
Component: CoreAssignee: OCL Inbox <mdt-ocl-inbox>
Status: CLOSED FIXED QA Contact: Ed Willink <ed>
Severity: normal    
Priority: P3    
Version: 3.0.0   
Target Milestone: 3.0.1   
Hardware: PC   
OS: Windows Vista   
Whiteboard:
Attachments:
Description Flags
Fix to add OclAny conformance for DataType and Enum none

Description Ed Willink CLA 2010-07-23 01:54:00 EDT
package example : ex = 'ex'
{
	datatype ThirtyCharString : 'java.lang.String'
	{
		invariant MaxLengthConstraint: oclIsUndefined();
	}
}

fails since there is no DataTypeScopeAdapter adding OclAny content.
Comment 1 Ed Willink CLA 2010-07-23 02:12:47 EDT
Created attachment 175039 [details]
Fix to add OclAny conformance for DataType and Enum

Suitable for 3.0.1
Comment 2 Ed Willink CLA 2010-08-17 03:44:35 EDT
Committed to HEAD for 3.1.0M2 and to R3_0_maintenance for 3.0.1RC2.
Comment 3 Ed Willink CLA 2011-05-27 03:13:37 EDT
Closing