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

Bug 339801

Summary: [compiler] declared lifting cannot resolve base imported base type
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.8   
Target Milestone: 0.8 M6   
Hardware: Other   
OS: Linux   
Whiteboard:
Attachments:
Description Flags
test & proposed fix none

Description Stephan Herrmann CLA 2011-03-12 12:44:35 EST
In a team class that imports its base class with the "base" modifier,
the base type cannot be resolved in a certain situation of declared lifting:
if the specified role is not bound to any base, but a sub role has to be
found that is indeed bound to the specified base type.
Comment 1 Stephan Herrmann CLA 2011-03-12 12:57:30 EST
Created attachment 191053 [details]
test & proposed fix

Here's a test to witness.

The fix is simply to first try resolving using the base import scope.
Comment 2 Stephan Herrmann CLA 2011-03-12 12:59:40 EST
Patch has been committed for 0.8M6 as r1404/5.
Comment 3 Stephan Herrmann CLA 2011-06-07 09:44:16 EDT
Verified using build 201106070730.