Drop volatile facts after a yield statement

This commit is contained in:
Nigel Tao committed 2017-12-01 16:24:54 +11:00
1 parent 849db0faa2
commit 906bca4e39
4 files changed
+19 -4

No files matched your search

-2
View File
@@ -213,8 +213,6 @@ pri func flate_decoder.decode_huffman_slow?(dst writer1, src reader1)() {
}
// TODO: "closed for writes" instead?
yield suspension "short write"
// TODO: invalidate this-related facts because the
// suspension can change the state of this and its fields.
}
// Copy from the start of this.history, if we wrapped around.
if hlen > 0 {