Index: utils/pub/yaml/parser.dart |
diff --git a/utils/pub/yaml/parser.dart b/utils/pub/yaml/parser.dart |
index 8652ff453371d751cdac7cf2832157e22cfeff3a..f2f255e7652df22f79254adf898a5daea80e53a7 100644 |
--- a/utils/pub/yaml/parser.dart |
+++ b/utils/pub/yaml/parser.dart |
@@ -633,7 +633,7 @@ class _Parser { |
if (!captureAs('', () => consumeChar(char))) return false; |
var captured = captureAndTransform( |
() => nAtOnce(digits, (c, _) => isHexDigit(c)), |
- (hex) => new String.fromCharCodes([Math.parseInt("0x$hex")])); |
+ (hex) => new String.fromCharCodes([int.parse("0x$hex")])); |
return expect(captured, "$digits hexidecimal digits"); |
} |