| Index: runtime/lib/string_patch.dart
|
| diff --git a/runtime/lib/string_patch.dart b/runtime/lib/string_patch.dart
|
| index 3ac78a8fd9404faa5724cd771666eb61053110d5..9a454b114da22988e9e3ccbb692b605011f8ea72 100644
|
| --- a/runtime/lib/string_patch.dart
|
| +++ b/runtime/lib/string_patch.dart
|
| @@ -518,6 +518,14 @@ class _StringBase {
|
| return buffer.toString();
|
| }
|
|
|
| + // Convert single object to string.
|
| + static String _interpolateSingle(Object o) {
|
| + final s = o.toString();
|
| + if (s is! String) {
|
| + throw new ArgumentError(o);
|
| + }
|
| + return s;
|
| + }
|
|
|
| /**
|
| * Convert all objects in [values] to strings and concat them
|
|
|