Bug 75649 - [1.5] completion inside a wildcard does not work
Summary: [1.5] completion inside a wildcard does not work
Status: VERIFIED FIXED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.0   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 3.1 M3   Edit
Assignee: David Audel CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-10-05 11:21 EDT by David Audel CLA
Modified: 2004-11-04 06:21 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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