| Summary: | [assist] creating a role constructor via quickfix creates ';' instead of body | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Tools] Objectteams | Reporter: | Stephan Herrmann <stephan.herrmann> | ||||
| Component: | OTDT | Assignee: | 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: |
|
||||||
Created attachment 190912 [details]
proposed fix & test
The problem occurred because the quickfix was working with the interface part
binding of the role. Fixed by switching to the class part which also resolved
another issue: existing constructors where not found by the quickfix.
The change nicely fits into an existing callin (changed after to replace).
Committed for 0.8 M6 as r1394 - 1396. Verified using build 201106070730. |
public team class MyTeam { protected class R { } void test() { new R(3); // quickfix here } } creates (inside R): public R(int i); instead of: public R(int i) { // TODO Auto-generated constructor stub }