Fix some built-in methods' effects

This commit is contained in:
Nigel Tao committed 2018-05-12 17:55:57 +10:00
1 parent 2919e51575
commit 131732e7eb
8 files changed
+21 -24

No files matched your search

+1 -1
View File
@@ -52,7 +52,7 @@ pub func decoder.decode?(dst base.io_writer, src base.io_reader)() {
// Decode and checksum the DEFLATE-encoded payload.
var checksum_got base.u32
while true {
in.dst.set_mark()
in.dst.set_mark!()
var z base.status = try this.flate.decode?(dst:in.dst, src:in.src)
if not this.ignore_checksum {
checksum_got = this.checksum.update(x:in.dst.since_mark())