Index: sdk/lib/_internal/compiler/implementation/js_backend/runtime_types.dart |
diff --git a/sdk/lib/_internal/compiler/implementation/js_backend/runtime_types.dart b/sdk/lib/_internal/compiler/implementation/js_backend/runtime_types.dart |
index a43e089975691306ac33a0696c21ecd70ae02bc7..262d16c26fe6f3c349bf55035957a926bc8001b4 100644 |
--- a/sdk/lib/_internal/compiler/implementation/js_backend/runtime_types.dart |
+++ b/sdk/lib/_internal/compiler/implementation/js_backend/runtime_types.dart |
@@ -300,7 +300,8 @@ class TypeCheckMapping implements TypeChecks { |
StringBuffer sb = new StringBuffer(); |
for (ClassElement holder in this) { |
for (ClassElement check in [holder]) { |
- sb.add('${holder.name.slowToString()}.${check.name.slowToString()}, '); |
+ sb.write( |
+ '${holder.name.slowToString()}.${check.name.slowToString()}, '); |
} |
} |
return '[$sb]'; |