stdlib/streams: Streamable now working on any Text type instead of just String.
[nit.git] / src / network_debugger.nit
index 7fc38aa..e8afc20 100644 (file)
@@ -222,7 +222,7 @@ redef class Stdout
        redef fun write(s)
        do
                if connection != null then
-                       connection.write(s)
+                       connection.write(s.to_s)
                else
                        super
                end