Delete std/flate's zlib code (moved to std/zlib)

This commit is contained in:
Nigel Tao committed 2017-12-03 14:31:35 +11:00
1 parent 7e73a5ac5f
commit 530605a16b
8 files changed
+42 -736

No files matched your search

+1 -1
View File
@@ -635,7 +635,7 @@ func (g *gen) writeCallSuspendibles(b *buffer, n *a.Expr, depth uint32) error {
isThatMethod(g.tm, n, g.tm.ByName("decode").Key(), 3) {
switch g.pkgName {
case "flate", "zlib": // TODO: remove "flate".
case "zlib":
// TODO: don't hard code being inside a try call.
if g.currFunk.tempW > maxTemp {
return fmt.Errorf("too many temporary variables required")