Add a gif.decoder.frame_dirty_rect method

This commit is contained in:
Nigel Tao committed 2018-11-17 21:26:53 +11:00
1 parent f06126c85a
commit 4023294ba2
7 files changed
+193 -11

No files matched your search

+5 -1
View File
@@ -131,9 +131,13 @@ func (g *gen) writeStatementAssign(b *buffer, n *a.Assign, depth uint32) error {
}
}
}
} else if isBaseRangeType(lTyp.QID()) {
if n.Operator() == t.IDEq {
opName = "="
}
}
if closer == "" {
if opName == "" {
return fmt.Errorf("unsupported assignment type %q", lTyp.Str(g.tm))
}
}