Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 339801 - [compiler] declared lifting cannot resolve base imported base type
Summary: [compiler] declared lifting cannot resolve base imported base type
Status: VERIFIED FIXED
Alias: None
Product: Objectteams
Classification: Tools
Component: OTJ (show other bugs)
Version: 0.8   Edit
Hardware: Other Linux
: P3 normal (vote)
Target Milestone: 0.8 M6   Edit
Assignee: Stephan Herrmann CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-03-12 12:44 EST by Stephan Herrmann CLA
Modified: 2011-06-07 09:44 EDT (History)
0 users

See Also:


Attachments
test & proposed fix (3.72 KB, patch)
2011-03-12 12:57 EST, 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 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.