Index: sdk/lib/_internal/compiler/implementation/code_buffer.dart |
diff --git a/sdk/lib/_internal/compiler/implementation/code_buffer.dart b/sdk/lib/_internal/compiler/implementation/code_buffer.dart |
index fafc409d542fa16e0157747b5cae9e9f94446a5e..69fab9ae5ffd0a5d63ad071257cefff44c553857 100644 |
--- a/sdk/lib/_internal/compiler/implementation/code_buffer.dart |
+++ b/sdk/lib/_internal/compiler/implementation/code_buffer.dart |
@@ -44,7 +44,7 @@ class CodeBuffer implements StringBuffer { |
return this; |
} |
- CodeBuffer writeln(var object) { |
+ CodeBuffer writeln([var object = ""]) { |
return write(object).write("\n"); |
} |