Summary: | Scope.isDefinedInSameUnit(ReferenceBinding) fails for a ParameterizedTypeBinding | ||||||
---|---|---|---|---|---|---|---|
Product: | [Eclipse Project] JDT | Reporter: | Ayushman Jain <amj87.iitr> | ||||
Component: | Core | Assignee: | Ayushman Jain <amj87.iitr> | ||||
Status: | VERIFIED FIXED | QA Contact: | |||||
Severity: | normal | ||||||
Priority: | P3 | CC: | srikanth_sankaran | ||||
Version: | 3.8 | ||||||
Target Milestone: | 3.8 M3 | ||||||
Hardware: | All | ||||||
OS: | All | ||||||
Whiteboard: | |||||||
Attachments: |
|
Description
Ayushman Jain
2011-10-12 06:20:35 EDT
(In reply to comment #0) > if (enclosingType instanceof ParameterizedTypeBinding) > if (topLevelTypes[i] == ((ParameterizedTypeBinding)enclosingType).type) > return true; Actually, using enclosingType.original() should suffice. Created attachment 205028 [details]
proposed fix
Released in HEAD for 3.8M3 via commit 21098f5e40f4c2eaaad3e643b94e7cf0a54113c9. Verified for 3.8 M3 via code inspection. |