Index: sdk/lib/utf/utf32.dart |
diff --git a/sdk/lib/utf/utf32.dart b/sdk/lib/utf/utf32.dart |
index acf6ac3d879c5d0dc69dfcbf5169faa7bac8e3ef..1e43f01dbc31f487d71cb8183e43326555bda99d 100644 |
--- a/sdk/lib/utf/utf32.dart |
+++ b/sdk/lib/utf/utf32.dart |
@@ -222,7 +222,7 @@ abstract class Utf32BytesDecoder implements _ListRangeIterator { |
} |
List<int> decodeRest() { |
- List<int> codeunits = new List<int>.fixedLength(remaining); |
+ List<int> codeunits = new List<int>(remaining); |
int i = 0; |
while (moveNext()) { |
codeunits[i++] = current; |