(paramNames map[string]struct{}, arg *types.Type)
| 1070 | } |
| 1071 | |
| 1072 | func collectParamNames(paramNames map[string]struct{}, arg *types.Type) { |
| 1073 | if arg.Kind() == types.TypeParamKind { |
| 1074 | paramNames[arg.TypeName()] = struct{}{} |
| 1075 | } |
| 1076 | for _, param := range arg.Parameters() { |
| 1077 | collectParamNames(paramNames, param) |
| 1078 | } |
| 1079 | } |
| 1080 | |
| 1081 | func formatSignature(fnName string, o *OverloadDecl) string { |
| 1082 | if opName, isOperator := operators.FindReverse(fnName); isOperator { |
no test coverage detected