This commit is contained in:
Lea Anthony
2020-10-30 15:55:15 +11:00
parent fc4d17b967
commit a2a50a1c78
2 changed files with 2 additions and 19 deletions

View File

@@ -68,6 +68,8 @@ func getMethods(value interface{}) ([]*BoundMethod, error) {
boundMethod.Inputs = inputs
// Iterate outputs
// TODO: Determine what to do about limiting return types
// especially around errors.
outputParamCount := methodType.NumOut()
var outputs []*Parameter
for outputIndex := 0; outputIndex < outputParamCount; outputIndex++ {