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

Bug 370273

Summary: [compiler][otjld] consider allowing base imported types as the return type of a team method
Product: [Tools] Objectteams Reporter: Stephan Herrmann <stephan.herrmann>
Component: OTJAssignee: Stephan Herrmann <stephan.herrmann>
Status: VERIFIED FIXED QA Contact:
Severity: normal    
Priority: P3 Keywords: noteworthy
Version: 2.1   
Target Milestone: 2.1 M6   
Hardware: Other   
OS: Linux   
Whiteboard:

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