| Summary: | [1.5][assist] All current proposals while completing after a type parameter results in a compiler error | ||
|---|---|---|---|
| Product: | [Eclipse Project] JDT | Reporter: | Frederic Fusier <frederic_fusier> |
| Component: | Core | Assignee: | David Audel <david_audel> |
| Status: | CLOSED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | ||
| Version: | 3.1 | ||
| Target Milestone: | 3.1 RC2 | ||
| Hardware: | PC | ||
| OS: | Windows XP | ||
| Whiteboard: | |||
+1 for RC2 Fixed and tests added CompletionTests_1_5#test0234() -> test0235() Verified using N20050606-0010 + JDT/Core HEAD Verified with I20050610-0010 |
Using 3.1 RC1. Consider following simple snippet: public class X<E> { Object x = E.| } While completing at "|", I get 2 proposals: "class" and "this". If I chose "class", I get following compiler error: "Illegal class literal for the type parameter E" If I chose "this", I get: "No enclosing instance of the type E is accessible in scope"