| Index: sdk/lib/core/string.dart
|
| diff --git a/sdk/lib/core/string.dart b/sdk/lib/core/string.dart
|
| index e08f291d70ff8b0c16e2542f749d7181ccc87144..d780314f2e0a9c59b775303bd0103293a7eca493 100644
|
| --- a/sdk/lib/core/string.dart
|
| +++ b/sdk/lib/core/string.dart
|
| @@ -38,7 +38,7 @@ abstract class String implements Comparable<String>, Pattern {
|
| * one half of a surrogate pair.
|
| */
|
| factory String.fromCharCode(int charCode) {
|
| - List<int> charCodes = new List<int>.fixedLength(1, fill: charCode);
|
| + List<int> charCodes = new List<int>.filled(1, charCode);
|
| return new String.fromCharCodes(charCodes);
|
| }
|
|
|
|
|