mirror of
https://github.com/ddidderr/wuffs.git
synced 2026-11-26 17:01:35 +01:00
Fix a wuffs_base__slice_u8__suffix typo
This commit is contained in:
1 parent
25cfb3c8bb
commit
1b613879a1
9 files changed
+10
-10
No files matched your search
@@ -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
|
||||
|
||||
Reference in new issue
Block a user