mirror of
https://github.com/ddidderr/wuffs.git
synced 2026-11-24 00:52:18 +01:00
Prepare to add cpu_arch_utility types
This commit is contained in:
1 parent
869be76fae
commit
492068f3dc
8 files changed
+77
-29
No files matched your search
@@ -434,7 +434,7 @@ func (g *gen) writeExprUserDefinedCall(b *buffer, n *a.Expr, depth uint32) error
|
||||
}
|
||||
qid := recvTyp.QID()
|
||||
b.printf("%s%s__%s(", g.packagePrefix(qid), qid[1].Str(g.tm), method.Ident().Str(g.tm))
|
||||
if !recvTyp.Eq(typeExprUtility) {
|
||||
if !recvTyp.IsEtcUtilityType() {
|
||||
b.writes(addr)
|
||||
if err := g.writeExpr(b, recv, false, depth); err != nil {
|
||||
return err
|
||||
|
||||
Reference in new issue
Block a user