Function types versus arrays
Lawrence Kesteloot
lk at teamten.com
Mon Feb 8 11:43:26 PST 2010
On Mon, Feb 8, 2010 at 11:30 AM, Alex Buckley <Alex.Buckley at sun.com> wrote:
> I am interested in people's thoughts on the limitations of arrays of
> parameterized types.
Could we ban the assignment to Object[]? Specifically, an array of
function types cannot be assigned to an array of any superclass of the
function type (including contra/covariant modifications). It's
inconsistent, but so is banning arrays of function types.
Lawrence
More information about the lambda-dev
mailing list