Summary: | [assist] Wrong names are proposed as unresolved local variable | ||||||
---|---|---|---|---|---|---|---|
Product: | [Eclipse Project] JDT | Reporter: | David Audel <david_audel> | ||||
Component: | Core | Assignee: | David Audel <david_audel> | ||||
Status: | VERIFIED FIXED | QA Contact: | |||||
Severity: | normal | ||||||
Priority: | P3 | ||||||
Version: | 3.3 | ||||||
Target Milestone: | 3.3 M7 | ||||||
Hardware: | PC | ||||||
OS: | Windows XP | ||||||
Whiteboard: | |||||||
Attachments: |
|
Description
David Audel
2007-03-13 12:55:12 EDT
Another bug in the smae area public class X { void foo () { label : { la| // do ctrl+space at | { break label; } } } } there is two 'label' proposals. Another problem. public class X { void foo() { return (zzz) zz| // do ctrl+space at | } } 'zzz' shouldn't be proposed Created attachment 63593 [details]
Proposed fix
Algorithm to accumulate potential unresolved names is rewritten.
Performances of unresolved names propositions are slightly improved.
Released for 3.3M7 Tests added CompletionTests#testNameWithUnresolvedReferences012() -> testNameWithUnresolvedReferences017() Verified for 3.3M7 using I20070427-0010 |