This commit is contained in:
crusader 2017-11-02 16:05:48 +09:00
parent 0927d7889b
commit 392dd3823b

View File

@ -93,7 +93,7 @@ Loop:
mCount := mtype.NumIn() mCount := mtype.NumIn()
if 0 < mCount { if 0 < mCount {
paramTypes = make([]reflect.Type, mCount) paramTypes = make([]reflect.Type, mCount)
for indexI := 0; indexI < mCount; indexI++ { for indexI := 1; indexI < mCount; indexI++ {
param := mtype.In(indexI) param := mtype.In(indexI)
if !isExportedOrBuiltin(param) { if !isExportedOrBuiltin(param) {
continue Loop continue Loop