Summary: | Type mismatch: cannot convert from Collection to Collection | ||
---|---|---|---|
Product: | [Tools] AspectJ | Reporter: | Adrian Colyer <adrian.colyer> |
Component: | Compiler | Assignee: | Adrian Colyer <adrian.colyer> |
Status: | RESOLVED FIXED | QA Contact: | |
Severity: | major | ||
Priority: | P3 | ||
Version: | DEVELOPMENT | ||
Target Milestone: | 1.5.0 M4 | ||
Hardware: | Macintosh | ||
OS: | All | ||
Whiteboard: |
Description
Adrian Colyer
2005-09-07 02:53:36 EDT
I'm out of the office most of today, will take another look at this tonight... Regards, Adrian. ok, I made some progress on this on the train. The first piece of good news is that I can reliably reproduce it, and have a failing test case in the suite. I also know what the cause of the bug is :- the inter-type field has been given the (correct) type of Collection#RAW, but the return type of the inter-type method has the type Collection (the generic base type). The compiler compares the two types by identity and says that they are not the same, resulting in the confusing error message. Now all I need to do is find out why the itd method does not also present its return type as raw.... fix now committed in tree. |