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

Bug 351902

Summary: Allow an ExternalType to extend any other ExternalType
Product: z_Archived Reporter: Matt Heitz <mheitz>
Component: EDTAssignee: Matt Heitz <mheitz>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Matt Heitz CLA 2011-07-12 16:48:24 EDT
A validation check prevents an ExternalType from extending another ExternalType if they have different stereotypes.  We need to remove this check so our types can compile.  For example we have these two types:

externalType AnyText extends AnyValue type ClassType {isAbstract=yes}

externalType AnyString extends AnyText type ParameterizableType

And here's the error message:

IWN.VAL.3421.e 6/32 The type AnyText must be an ExternalType part whose subtype matches the subtype of AnyString.
Comment 1 Matt Heitz CLA 2011-07-13 09:55:17 EDT
Changed ExternalTypeValidator and the text of error message 3421.