| Summary: | [assist] cannot complete inside a binding guard | ||||||
|---|---|---|---|---|---|---|---|
| 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: |
|
||||||
|
Description
Stephan Herrmann
Created attachment 191252 [details]
Test & proposed fix
The problem was that the CompletionParser would not recognize the guard
when seeing source only upto the cursor position.
Fixed by adding treatment for guards in checkRecoveredMethodMapping()
(with the help of RecoveredMethodMapping.add(Statement)).
Committed for 0.8M6 as r1412 / r1413. Filed a fup as bug 340103. Other than that the fix has been verified for 0.8M6 using build 201103151949. |