Have std/gif's decode_frame call decode_config

This commit is contained in:
Nigel Tao committed 2018-07-15 17:40:28 +10:00
1 parent 29eb64a0a4
commit 3df168ed9d
5 files changed
+51 -41

No files matched your search

+3 -1
View File
@@ -263,7 +263,9 @@ func (q *checker) tcheckAssert(n *a.Assert) error {
}
func (q *checker) tcheckEq(lID t.ID, lhs *a.Expr, lTyp *a.TypeExpr, rhs *a.Expr, rTyp *a.TypeExpr) error {
if (rTyp.IsIdeal() && lTyp.IsNumType()) || lTyp.EqIgnoringRefinements(rTyp) {
if (rTyp.IsIdeal() && lTyp.IsNumType()) ||
(rTyp.EqIgnoringRefinements(lTyp)) ||
(rTyp.IsNullptr() && lTyp.Decorator() == t.IDNptr) {
return nil
}
lStr := "???"