Skip to content

Commit

Permalink
fix issue #1345 about generics
Browse files Browse the repository at this point in the history
  • Loading branch information
sdghchj committed Oct 15, 2022
1 parent b1fee43 commit a1a7e43
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion generics_other.go
Expand Up @@ -17,7 +17,7 @@ func (pkgDefs *PackagesDefinitions) parametrizeGenericType(file *ast.File, origi
return original
}

func getGenericFieldType(file *ast.File, field ast.Expr) (string, error) {
func getGenericFieldType(file *ast.File, field ast.Expr, genericParamTypeDefs map[string]*genericTypeSpec) (string, error) {
return "", fmt.Errorf("unknown field type %#v", field)
}

Expand Down

0 comments on commit a1a7e43

Please sign in to comment.