Fix the sub extractor

This commit is contained in:
Asim 2015-12-03 00:49:58 +00:00
parent 003c2d848e
commit a69811fc72

View File

@ -89,6 +89,8 @@ func extractSubValue(typ reflect.Type) *registry.Value {
reqType = typ.In(0)
case 2:
reqType = typ.In(1)
case 3:
reqType = typ.In(2)
default:
return nil
}