Add a huffman_decoder.consts field.

This commit is contained in:
Nigel Tao committed 2017-07-21 11:48:15 +10:00
1 parent 34198f3de5
commit 02cd837d9d
6 files changed
+47 -33

No files matched your search

+1 -1
View File
@@ -350,7 +350,7 @@ func (q *checker) tcheckExprOther(n *a.Expr, depth uint32) error {
isThisMethod(q.tm, n, "decode_header", 1) || isThisMethod(q.tm, n, "decode_lsd", 1) ||
isThisMethod(q.tm, n, "decode_extension", 1) || isThisMethod(q.tm, n, "decode_id", 2) ||
isThisMethod(q.tm, n, "decode_uncompressed", 2) || isThisMethod(q.tm, n, "decode_dynamic", 2) ||
isThisMethod(q.tm, n, "init_huffman", 1) {
isThisMethod(q.tm, n, "init_huffman", 2) {
if err := q.tcheckExpr(n.LHS().Expr(), depth); err != nil {
return err