diff --git a/lang/ast/ast.go b/lang/ast/ast.go index 84ce414f..f100c3e2 100644 --- a/lang/ast/ast.go +++ b/lang/ast/ast.go @@ -929,7 +929,7 @@ func (n *TypeExpr) HasPointers() bool { return true } } - case t.IDNptr, t.IDPtr, t.IDSlice, t.IDTable: + case t.IDNptr, t.IDPtr, t.IDRoslice, t.IDRotable, t.IDSlice, t.IDTable: return true } } diff --git a/std/tga/decode_tga.wuffs b/std/tga/decode_tga.wuffs index 5247960e..35a184e9 100644 --- a/std/tga/decode_tga.wuffs +++ b/std/tga/decode_tga.wuffs @@ -308,7 +308,7 @@ pri func decoder.do_decode_frame?(dst: ptr base.pixel_buffer, src: base.io_reade var dst_palette : slice base.u8 var dst : slice base.u8 var dst_start : base.u64 - var src_palette : slice base.u8 + var src_palette : roslice base.u8 var mark : base.u64 var num_pixels64 : base.u64 var num_pixels32 : base.u32[..= 0xFFFF]