Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 339823 - [select] base constructor invocation is not selectable
Summary: [select] base constructor invocation is not selectable
Status: VERIFIED FIXED
Alias: None
Product: Objectteams
Classification: Tools
Component: OTDT (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-13 09:30 EDT by Stephan Herrmann CLA
Modified: 2011-03-15 20:41 EDT (History)
0 users

See Also:


Attachments
Test & proposed fix (6.39 KB, patch)
2011-03-13 09:37 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 2011-03-13 09:30:36 EDT
In a role constructor 
  protected class R playedBy B {
     R (String arg) {
        base(arg);
     }
   }

the word "base" is not selectable. It should in fact take you to the
constructor of B.
Comment 1 Stephan Herrmann CLA 2011-03-13 09:37:07 EDT
Created attachment 191076 [details]
Test & proposed fix

Fixed by inserting a new hook into the parser and letting SelectionParser
instantiate a new class SelectionOnBaseAllocationExpression.
Comment 2 Stephan Herrmann CLA 2011-03-13 09:38:33 EDT
Committed for 0.8M6 as r1410, r1411.
Comment 3 Stephan Herrmann CLA 2011-03-15 20:41:18 EDT
Verified for 0.8M6 using build 201103151949.