Fix a wuffs_base__slice_u8__suffix typo

This commit is contained in:
Nigel Tao committed 2018-05-16 10:00:22 +10:00
1 parent 25cfb3c8bb
commit 1b613879a1
9 files changed
+10 -10

No files matched your search

+1 -1
View File
@@ -119,7 +119,7 @@ func (g *gen) writeBuiltin(b *buffer, n *a.Expr, rp replacementPolicy, depth uin
}
if isThatMethod(g.tm, n, t.IDSuffix, 1) {
// TODO: don't assume that the slice is a slice of base.u8.
b.writes("wuffs_base__slice_u8_suffix(")
b.writes("wuffs_base__slice_u8__suffix(")
x := n.LHS().Expr().LHS().Expr()
if err := g.writeExpr(b, x, rp, depth); err != nil {
return err