Summary: | [plan] [generics] [itds] Wrong 'cannot convert" error | ||
---|---|---|---|
Product: | [Tools] AspectJ | Reporter: | Michael Esser <MikeEA> |
Component: | Compiler | Assignee: | aspectj inbox <aspectj-inbox> |
Status: | RESOLVED FIXED | QA Contact: | |
Severity: | major | ||
Priority: | P2 | CC: | aclement, MikeEA |
Version: | DEVELOPMENT | ||
Target Milestone: | 1.6.3 | ||
Hardware: | PC | ||
OS: | Windows XP | ||
Whiteboard: |
Description
Michael Esser
2008-10-13 07:25:13 EDT
The problem is due to the type variable being used in a array form. During type completion the type variable is collapsed to its bound for the find() return type and that causes problems at the call site 'CLOCK[] var = find()' since we then compare CLOCK[] and Object[]. test and fix committed. Fix in ResolvedMemberImpl - not great code but works. |