lib/standard: make IFStream a PollableIStream so it can be used as stdin
authorJean Privat <jean@pryen.org>
Wed, 1 Oct 2014 01:24:48 +0000 (21:24 -0400)
committerJean Privat <jean@pryen.org>
Wed, 1 Oct 2014 01:24:48 +0000 (21:24 -0400)
Signed-off-by: Jean Privat <jean@pryen.org>

lib/standard/file.nit

index 02edcaf..36878e5 100644 (file)
@@ -48,6 +48,7 @@ end
 class IFStream
        super FStream
        super BufferedIStream
+       super PollableIStream
        # Misc
 
        # Open the same file again.
@@ -149,7 +150,6 @@ end
 
 class Stdin
        super IFStream
-       super PollableIStream
 
        private init do
                _file = new NativeFile.native_stdin