mirror of
https://github.com/ddidderr/wuffs.git
synced 2026-11-25 00:55:11 +01:00
Generate double '_'s for pkg__type__method names.
This commit is contained in:
1 parent
8ee56a7911
commit
6815375de5
13 files changed
+663
-660
No files matched your search
@@ -75,7 +75,7 @@ func (g *gen) writeFuncSignature(b *buffer, n *a.Func) error {
|
||||
b.writes(g.pkgPrefix)
|
||||
if r := n.Receiver(); r != 0 {
|
||||
b.writes(r.String(g.tm))
|
||||
b.writeb('_')
|
||||
b.writes("__")
|
||||
}
|
||||
b.printf("%s(", n.Name().String(g.tm))
|
||||
|
||||
|
||||
Reference in new issue
Block a user