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 e7005aa30d5db50d09553a726e7037076b9c821a..fad1d02b36521240804297b072f1d242b4f8fb80 100644 |
--- a/sdk/lib/_internal/compiler/implementation/lib/core_patch.dart |
+++ b/sdk/lib/_internal/compiler/implementation/lib/core_patch.dart |
@@ -202,33 +202,6 @@ patch class String { |
} |
} |
-// Patch for String implementation. |
-patch class Strings { |
- patch static String join(Iterable<String> strings, String separator) { |
- checkNull(strings); |
- if (separator is !String) throw new ArgumentError(separator); |
- return stringJoinUnchecked(_toJsStringArray(strings), separator); |
- } |
- |
- patch static String concatAll(Iterable<String> strings) { |
- return stringJoinUnchecked(_toJsStringArray(strings), ""); |
- } |
- |
- static List _toJsStringArray(Iterable<String> strings) { |
- checkNull(strings); |
- var array; |
- if (!isJsArray(strings)) { |
- strings = new List.from(strings); |
- } |
- final length = strings.length; |
- for (int i = 0; i < length; i++) { |
- final string = strings[i]; |
- if (string is !String) throw new ArgumentError(string); |
- } |
- return strings; |
- } |
-} |
- |
patch class RegExp { |
patch factory RegExp(String pattern, |
{bool multiLine: false, |