a_star: don't crash on deserialization errors and limit static types
[nit.git] / lib / filter_stream.nit
index c5baa32..f1537e4 100644 (file)
@@ -65,7 +65,7 @@ class StreamCat
                return res
        end
 
-       redef fun read_char: Int
+       redef fun read_char
        do
                assert not eof
                return stream.read_char