mirror of
https://github.com/ddidderr/wuffs.git
synced 2026-11-21 00:47:28 +01:00
Rename x T to x: T for fields and func args
This commit is contained in:
1 parent
5b4e3647c0
commit
1520a1f345
15 files changed
+226
-216
No files matched your search
+1
-1
@@ -284,7 +284,7 @@ func (h *genHelper) genWuffs(dirname string, qualifiedFilenames []string) error
|
||||
}
|
||||
// TODO: what happens if the XType is from another package?
|
||||
// Similarly for the out-param.
|
||||
fmt.Fprintf(out, "%s %s", field.Name().Str(&h.tm), field.XType().Str(&h.tm))
|
||||
fmt.Fprintf(out, "%s: %s", field.Name().Str(&h.tm), field.XType().Str(&h.tm))
|
||||
}
|
||||
fmt.Fprintf(out, ") ")
|
||||
if o := n.Out(); o != nil {
|
||||
|
||||
Reference in new issue
Block a user