Idea how to implement VT/VO compatibility in JVM
stef at epardaud.fr
Thu Jan 22 13:43:59 UTC 2015
On 01/22/2015 02:41 PM, Vitaly Davidovich wrote:
> So this type of use case would be a problem if generics were there
> from day 1 but ? didn't exist. What you want here is be able to
> invoke generic methods at runtime /late bound, and not necessarily
> coercing everything to extend ?.
Well, I don't think we can invoke generic methods of value types unless
we can either know the value type statically or unless we can box them.
More information about the valhalla-dev