Add a compiler TODO.

This commit is contained in:
Nigel Tao committed 2017-10-13 13:21:57 +11:00
1 parent 38a231edfb
commit 4357c22e91
1 file changed
+1
+1
View File
@@ -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