From 4357c22e9129ddcb104d448edadd8b746e22b6f7 Mon Sep 17 00:00:00 2001 From: Nigel Tao Date: Fri, 13 Oct 2017 13:21:57 +1100 Subject: [PATCH] Add a compiler TODO. --- std/gif/decode_lzw.puffs | 1 + 1 file changed, 1 insertion(+) diff --git a/std/gif/decode_lzw.puffs b/std/gif/decode_lzw.puffs index b0fe7978..f1a48fc0 100644 --- a/std/gif/decode_lzw.puffs +++ b/std/gif/decode_lzw.puffs @@ -110,6 +110,7 @@ pub func lzw_decoder.decode?(dst writer1, src reader1)() { inv c < 256, { var expansion[] u8 = this.stack[s:] + // TODO: "x:" instead of "s:" should be a compiler error. var n u64 = in.dst.copy_from_slice(x:expansion) if n == expansion.length() { break