Summary: | [1.5][select] Selecting type parameter in binary answer match on line 0 | ||
---|---|---|---|
Product: | [Eclipse Project] JDT | Reporter: | Philipe Mulet <philippe_mulet> |
Component: | Core | Assignee: | Olivier Thomann <Olivier_Thomann> |
Status: | VERIFIED FIXED | QA Contact: | |
Severity: | normal | ||
Priority: | P3 | ||
Version: | 3.1 | ||
Target Milestone: | 3.1 RC1 | ||
Hardware: | PC | ||
OS: | Windows XP | ||
Whiteboard: |
Description
Philipe Mulet
2005-05-10 07:03:34 EDT
SelectionEngine return the correct JavaElement but the source range of this element is false ([offset=0, length=1]). I found some problems: - getSourceRange() does not use the source mapper if the type parameter is inside a binary type or method. - SourceMapper does not compute source range for type parameters Fixed and released in HEAD. I checked that the steps to reproduce are working fine, but I don't know how to add a regression test. Changes in org.eclipse.jdt.internal.core.SourceMapper and org.eclipse.jdt.internal.core.TypeParameter. Verified for 3.1 RC1 with build I20050527-0010. |