addAll from set/list doesn't work with subtyping
I wanted to add a list of elements from the subtype of the list with the function addAll. However It gives an compilation error, that the type doesn’t match:
collection is not of type List
if you cast it it gives an compiletion error that you can’t cast it:
Submitted by chris melman on 18 May 2012 at 12:18
Log in to post comments