Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 370273 - [compiler][otjld] consider allowing base imported types as the return type of a team method
Summary: [compiler][otjld] consider allowing base imported types as the return type of...
Status: VERIFIED FIXED
Alias: None
Product: Objectteams
Classification: Tools
Component: OTJ (show other bugs)
Version: 2.1   Edit
Hardware: Other Linux
: P3 normal (vote)
Target Milestone: 2.1 M6   Edit
Assignee: Stephan Herrmann CLA
QA Contact:
URL:
Whiteboard:
Keywords: noteworthy
Depends on:
Blocks:
 
Reported: 2012-01-31 15:44 EST by Stephan Herrmann CLA
Modified: 2013-02-20 16:34 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 Stephan Herrmann CLA 2012-01-31 15:44:50 EST
I just realized an undesirable asymmetry: while a client may pass a base object *into* team using declared lifting, the team cannot return the base (using implicit lowering) in a similarly easy way.

Thus, mentioning a base imported base class should be allowed for the return type of a team method.
Comment 1 Stephan Herrmann CLA 2012-02-23 16:03:19 EST
Resolved for 2.1 M6 via commit 18694f76180b9eaf5bef02a427e44916705b784b
Comment 2 Stephan Herrmann CLA 2013-02-20 16:34:44 EST
Verified using 2.2 M5