| 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 cd2d34ade827b4d986efea7343cd2de10c0d43ee..5c6cb3bbe6ee7f8a38ba7532fc3d4730c0287a00 100644
|
| --- a/sdk/lib/_internal/compiler/implementation/lib/core_patch.dart
|
| +++ b/sdk/lib/_internal/compiler/implementation/lib/core_patch.dart
|
| @@ -168,12 +168,12 @@ patch class _ListImpl<E> {
|
|
|
|
|
| patch class String {
|
| - patch factory String.fromCodeUnits(List<int> codeUnits) {
|
| - if (!isJsArray(codeUnits)) {
|
| - if (codeUnits is !List) throw new ArgumentError(codeUnits);
|
| - codeUnits = new List.from(codeUnits);
|
| + patch factory String.fromCharCodes(List<int> charCodes) {
|
| + if (!isJsArray(charCodes)) {
|
| + if (charCodes is !List) throw new ArgumentError(charCodes);
|
| + charCodes = new List.from(charCodes);
|
| }
|
| - return Primitives.stringFromCodeUnits(codeUnits);
|
| + return Primitives.stringFromCharCodes(charCodes);
|
| }
|
| }
|
|
|
|
|