Index: sdk/lib/_internal/compiler/implementation/lib/core_patch.dart |
diff --git a/sdk/lib/_internal/compiler/implementation/lib/core_patch.dart b/sdk/lib/_internal/compiler/implementation/lib/core_patch.dart |
index f75c3d7998b56307202d4083157c04b84a5ecb0f..f22748b6aeb733117e472ecaa147dd292868866c 100644 |
--- a/sdk/lib/_internal/compiler/implementation/lib/core_patch.dart |
+++ b/sdk/lib/_internal/compiler/implementation/lib/core_patch.dart |
@@ -167,8 +167,7 @@ patch class _ListImpl<E> { |
} |
-// Patch for String implementation. |
-patch class _StringImpl { |
+patch class String { |
patch factory String.fromCharCodes(List<int> charCodes) { |
checkNull(charCodes); |
if (!isJsArray(charCodes)) { |
@@ -177,7 +176,10 @@ patch class _StringImpl { |
} |
return Primitives.stringFromCharCodes(charCodes); |
} |
+} |
+// Patch for String implementation. |
+patch class Strings { |
patch static String join(List<String> strings, String separator) { |
checkNull(strings); |
checkNull(separator); |