Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 314741 - [compiler] violation of OTJLD 1.2.2(g) can be masked by other error
Summary: [compiler] violation of OTJLD 1.2.2(g) can be masked by other error
Status: VERIFIED FIXED
Alias: None
Product: Objectteams
Classification: Tools
Component: OTJ (show other bugs)
Version: 0.7   Edit
Hardware: Other Linux
: P3 normal (vote)
Target Milestone: 0.7 M3   Edit
Assignee: Stephan Herrmann CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-05-27 13:58 EDT by Stephan Herrmann CLA
Modified: 2010-05-29 06:00 EDT (History)
0 users

See Also:


Attachments
fix (1.72 KB, patch)
2010-05-27 14:02 EDT, Stephan Herrmann CLA
no flags Details | Diff

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