Community
Participate
Working Groups
cheetah 05 class CellTest7<T>{ CellTest7<T> _recurse; public List<T> toList(){ List<T> result = new ArrayList<T>(); result.addAll(_recurse.toList()); return result; } } cheetah is not happy: 'The method addAll(Collection<? extends T>) in the type List<T> is not applicable for the arguments (List<T>)'
Type variable equivalence wasn't correctly implemented. Fixed. Added regression test GenericTypeTest#test212.
*** Bug 67243 has been marked as a duplicate of this bug. ***