Index: sdk/lib/io/console.dart |
diff --git a/sdk/lib/io/console.dart b/sdk/lib/io/console.dart |
index d41a9efb0feb80f97368487228bbc9ceab55d5db..c4ab7f27f0df3a043fb243c94da6f30f1ac1494e 100644 |
--- a/sdk/lib/io/console.dart |
+++ b/sdk/lib/io/console.dart |
@@ -51,7 +51,7 @@ class ConsoleSink implements Sink<List<int>>, StringSink { |
_sink = new IOSink(new _ConsoleConsumer(fd)); |
} |
- void call(Object message) => _sink.writeln(message); |
+ void call([Object message = ""]) => _sink.writeln(message); |
void add(List<int> data) => _sink.add(data); |