Bug 75649

Summary: [1.5] completion inside a wildcard does not work
Product: [Eclipse Project] JDT Reporter: David Audel <david_audel>
Component: CoreAssignee: David Audel <david_audel>
Status: VERIFIED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: 3.0   
Target Milestone: 3.1 M3   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description David Audel CLA 2004-10-05 11:21:37 EDT
build I20040930

1) create X.java
public X <T> {
  void foo() {
    W<? extends Stri^> s;
  }
}

2) do ctrl + space at ^ location

No completion (String could be proposed)
Comment 1 David Audel CLA 2004-10-05 11:22:57 EDT
CompletionParser ast is not complete (missing completion node).

public class W<T> {
  public W() {
  }
  void foo() {
  }
}
Comment 2 David Audel CLA 2004-10-11 11:39:47 EDT
Fixed and test added
  GenericsCompletionParserTest#test0184()

K_CONDITIONAL_OPERATOR must not be pushed on element stack when '?' is a 
wildcard
Comment 3 Frederic Fusier CLA 2004-11-04 06:21:56 EST
Verified for 3.1 M3 with build I200411040010 + jdt.core HEAD