mirror of
https://github.com/golang/go
synced 2024-11-24 17:00:01 -07:00
cgo: Print required space after parameter name in wrapper function.
R=rsc, gri CC=golang-dev https://golang.org/cl/3206041
This commit is contained in:
parent
d853b594b4
commit
553a88cfe7
@ -426,7 +426,7 @@ func (p *Package) writeExports(fgo2, fc *os.File) {
|
||||
printer.Fprint(fgo2, fn.Recv.List[0].Type)
|
||||
forFieldList(fntype.Params,
|
||||
func(i int, atype ast.Expr) {
|
||||
fmt.Fprintf(fgo2, ", p%d", i)
|
||||
fmt.Fprintf(fgo2, ", p%d ", i)
|
||||
printer.Fprint(fgo2, atype)
|
||||
})
|
||||
fmt.Fprintf(fgo2, ")")
|
||||
|
Loading…
Reference in New Issue
Block a user