Index: utils/peg/pegparser.dart |
diff --git a/utils/peg/pegparser.dart b/utils/peg/pegparser.dart |
index 24a3fa750c29832915b126ea5888420ab42f58f2..0b5fc1cd55129ebda16f8fc361f2fb182bf29997 100644 |
--- a/utils/peg/pegparser.dart |
+++ b/utils/peg/pegparser.dart |
@@ -62,7 +62,7 @@ _Rule CHAR([characters]) { |
// Find the range of character codes and construct an array of flags for codes |
// within the range. |
- List<int> codes = characters.charCodes(); |
+ List<int> codes = characters.charCodes; |
codes.sort((a, b) => a < b ? -1 : a > b ? 1 : 0); |
int lo = codes[0]; |
int hi = codes[codes.length - 1]; |