Idea how to implement VT/VO compatibility in JVM
vitalyd at gmail.com
Thu Jan 22 13:48:46 UTC 2015
Can't invoke them statically, yes, but could reflectively. Again, .NET
allows this and that's how people bridge late bound code with generics.
sent from my phone
On Jan 22, 2015 8:44 AM, "Stéphane Épardaud" <stef at epardaud.fr> wrote:
> 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