Index: utils/peg/pegparser.dart |
diff --git a/utils/peg/pegparser.dart b/utils/peg/pegparser.dart |
index dd49d0aac22579cb4c31ef7b16b0799b74d7868c..13336825e4ae9471b3603830b2d49249ff32b997 100644 |
--- a/utils/peg/pegparser.dart |
+++ b/utils/peg/pegparser.dart |
@@ -69,7 +69,7 @@ _Rule CHAR([characters]) { |
if (lo == hi) |
return CHARCODE(lo); |
int len = hi - lo + 1; |
- var flags = new List<bool>(len); |
+ var flags = new List<bool>.fixedLength(len); |
for (int i = 0; i < len; ++i) |
flags[i] = false; |
for (int code in codes) |