Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 351902 - Allow an ExternalType to extend any other ExternalType
Summary: Allow an ExternalType to extend any other ExternalType
Status: CLOSED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: EDT (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Matt Heitz CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-07-12 16:48 EDT by Matt Heitz CLA
Modified: 2017-02-23 14:16 EST (History)
0 users

See Also:


Attachments

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