Don't check value name on extraction

This commit is contained in:
Asim Aslam 2019-08-06 14:49:42 +01:00
parent beffa625f8
commit c3ea25225c

View File

@ -20,10 +20,6 @@ func extractValue(v reflect.Type, d int) *registry.Value {
v = v.Elem() v = v.Elem()
} }
if len(v.Name()) == 0 {
return nil
}
arg := &registry.Value{ arg := &registry.Value{
Name: v.Name(), Name: v.Name(),
Type: v.Name(), Type: v.Name(),