Closed GoogleCodeExporter closed 8 years ago
When the compiler tries to infer the type parameter of the method
'asList<T>(params T[] args)' from the arguments, it finds that T = int. The
algorithm does not try to box the parameters (for some good reasons) and it
fails because 'int' is not a valid type here.
This is the expected behavior.
Original comment by stab.hac...@gmail.com
on 29 Sep 2010 at 7:48
Original issue reported on code.google.com by
ice.ta...@gmail.com
on 29 Sep 2010 at 9:55