ceylon / ceylon-spec

DEPRECATED
Apache License 2.0
108 stars 34 forks source link

Metamodel model literals of functions allow use-site variance #1382

Closed FroMage closed 9 years ago

FroMage commented 9 years ago

I think it should be an error, as function literals with use-site variance are disallowed:

    value f = `typeParams<in String>`; // no error
    value f2 = typeParams<in String>; // error
gavinking commented 9 years ago

fixed.

FroMage commented 9 years ago

Thanks.