On Wed, Jan 13, 2021 at 12:39 PM Marcus Manning <icons...@gmail.com> wrote:
>
> Does reflection support generic instantiation?

No.  In the current proposal, generic functions and types are not
visible at run time.  Only instantiated functions and types are
visible.  So there is no way to even name a generic function/type that
should be instantiated.

> Are generic types/functions are part of the runtime type information 
> selectable for runtime reflection?

No.

> Are type to interface conformance relationships are part of the runtime type 
> information?

Yes, using reflect.Type.Implements.

Ian

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/golang-nuts/CAOyqgcWqW7ACWxOWt6hp9Rz7DgJTV9UXcnP%2Bcj3-voVxuRNGGw%40mail.gmail.com.

Reply via email to