| Summary: | [assist][rewrite] adding an import for the base side in declared lifting should create a base import | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Tools] Objectteams | Reporter: | Stephan Herrmann <stephan.herrmann> | ||||
| Component: | OTDT | Assignee: | Stephan Herrmann <stephan.herrmann> | ||||
| Status: | VERIFIED FIXED | QA Contact: | |||||
| Severity: | enhancement | ||||||
| Priority: | P3 | ||||||
| Version: | 0.8 | ||||||
| Target Milestone: | 2.0 RC2 | ||||||
| Hardware: | All | ||||||
| OS: | All | ||||||
| Whiteboard: | |||||||
| Attachments: |
|
||||||
Created attachment 196293 [details]
fix
Actually, the problem only occurred if no playedBy had been defined
before invoking quickfix. Anyway, here's a patch that also checks team
methods with declared lifting for hints on what types are base classes.
Committed as r1621. Verified using build 201105311237 (works for quickfix and completion alike) |
in a team method like void test(Base as Role r) { } if Base is unresolved that corresponding quickfix inserts a regular import where it should better add a base import.