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

Bug 314741

Summary: [compiler] violation of OTJLD 1.2.2(g) can be masked by other error
Product: [Tools] Objectteams Reporter: Stephan Herrmann <stephan.herrmann>
Component: OTJAssignee: Stephan Herrmann <stephan.herrmann>
Status: VERIFIED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: 0.7   
Target Milestone: 0.7 M3   
Hardware: Other   
OS: Linux   
Whiteboard:
Attachments:
Description Flags
fix none

Description Stephan Herrmann CLA 2010-05-27 13:58:56 EDT
Inheriting from a dependent type violates OTJLD 1.2.2(g).
However, if the type anchor of the dependent type cannot be resolved,
this error masks the error message re 1.2.2(g).

Witness is in RegularRoleInheritance.test148_extendingRoleFromUnrelatedTeam2().
Comment 1 Stephan Herrmann CLA 2010-05-27 14:02:35 EDT
Created attachment 170238 [details]
fix

Fixed by more specific error detection.
Comment 2 Stephan Herrmann CLA 2010-05-27 14:05:18 EDT
Patch has been committed as r380.
Comment 3 Stephan Herrmann CLA 2010-05-29 06:00:18 EDT
verified for M3 using 201005282024