feat: Capture generic parameter of an implementation, if there is one #18
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Right now, that info is thrown away. But it is there at the front of any generic implementation, typically
<T>
. So we might as well parse it and capture the generic parameter, which we can recognize later on as need be. That will set us up if we ever need to use a generic parameter other thanT
or if we ever need more than one.In
6bfd06cafb
I've added code to extract the generic parameter from thereflectedType
.Looks fine to me. Closing.