Closed bradleyfalzon closed 8 years ago
Needs to be fixed by normalising the fields so there's just one name per type, similar to a276ea18771545033e3f5152b5eb0e15739103b8
This could also occur on func and interface types for both parameters and results. Fortunately the related a276ea18771545033e3f5152b5eb0e15739103b8 works on []*ast.Field, which all mentioned types are, so the code there just needs to be abstracted into its own function with a parameter exportedOnly
which removes variables that aren't exported for the struct cases.
Fixed in 01b4663788253d32ef559f8bae451d92f6cce9bd
The following is not a breaking change: