mirror of
https://github.com/ddidderr/wuffs.git
synced 2026-11-21 00:47:28 +01:00
Add use_save_code to std/gif/decode_lzw.puffs.
This commit is contained in:
1 parent
0b034d7f6e
commit
ddbbdecce6
5 files changed
+65
-6
No files matched your search
@@ -765,7 +765,9 @@ func (q *checker) bcheckTypeExpr(n *a.TypeExpr) (*big.Int, *big.Int, error) {
|
||||
}
|
||||
|
||||
b := [2]*big.Int{}
|
||||
if key := n.Name().Key(); key < t.Key(len(numTypeBounds)) {
|
||||
if key := n.Name().Key(); key == t.KeyBool {
|
||||
b = [2]*big.Int{zero, one}
|
||||
} else if key < t.Key(len(numTypeBounds)) {
|
||||
b = numTypeBounds[key]
|
||||
}
|
||||
if b[0] == nil || b[1] == nil {
|
||||
|
||||
Reference in new issue
Block a user