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 4c0a1fe18c0efddc2b4039cd84a54190af215804..1d58b9b6c3b7bce37dc6c8cf7e23e36192eaab57 100644 |
--- a/sdk/lib/_internal/compiler/implementation/code_buffer.dart |
+++ b/sdk/lib/_internal/compiler/implementation/code_buffer.dart |
@@ -40,7 +40,7 @@ class CodeBuffer implements StringBuffer { |
CodeBuffer writeAll(Iterable<Object> objects, [String separator = ""]) { |
Iterator iterator = objects.iterator; |
if (!iterator.moveNext()) return this; |
- if (separator == "") { |
+ if (separator.isEmpty) { |
do { |
write(iterator.current); |
} while (iterator.moveNext()); |