Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 320689 - [editor] OclAny not considered for Enum and DataType
Summary: [editor] OclAny not considered for Enum and DataType
Status: CLOSED FIXED
Alias: None
Product: OCL
Classification: Modeling
Component: Core (show other bugs)
Version: 3.0.0   Edit
Hardware: PC Windows Vista
: P3 normal (vote)
Target Milestone: 3.0.1   Edit
Assignee: OCL Inbox CLA
QA Contact: Ed Willink CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-07-23 01:54 EDT by Ed Willink CLA
Modified: 2011-05-27 03:13 EDT (History)
0 users

See Also:


Attachments
Fix to add OclAny conformance for DataType and Enum (11.47 KB, patch)
2010-07-23 02:12 EDT, Ed Willink CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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