carry past_end_of_stream in WrappedStreamInstance

This commit is contained in:
Mark Thom
2020-05-09 01:34:56 -06:00
parent 5be771842f
commit ff420f1e67
3 changed files with 60 additions and 43 deletions

View File

@@ -627,7 +627,7 @@ impl MachineState {
3,
)?;
if stream.past_end_of_stream {
if stream.past_end_of_stream() {
if EOFAction::Reset != stream.options.eof_action {
return return_from_clause!(self.last_call, self);
} else if self.fail {