Merge: Fix Reader::read
authorJean Privat <jean@pryen.org>
Fri, 11 May 2018 20:01:04 +0000 (16:01 -0400)
committerJean Privat <jean@pryen.org>
Fri, 11 May 2018 20:01:04 +0000 (16:01 -0400)
With the stream refactor being developed and tested alongside, some buggy behaviours are being discovered.
This PR fixes one of such, where calling read on a dead stream caused the program to segfault.

Pull-Request: #2670
Reviewed-by: Jean Privat <jean@pryen.org>

1  2 
lib/core/stream.nit

Simple merge