Index: lib/compiler/implementation/tree/nodes.dart |
diff --git a/lib/compiler/implementation/tree/nodes.dart b/lib/compiler/implementation/tree/nodes.dart |
index 595ca0bf4f22e331f36392b4a3d76f9950004c86..2687ca8176785f70f5e23f0a258f481bb6e56c69 100644 |
--- a/lib/compiler/implementation/tree/nodes.dart |
+++ b/lib/compiler/implementation/tree/nodes.dart |
@@ -664,7 +664,7 @@ class LiteralInt extends Literal<int> { |
try { |
Token valueToken = token; |
if (valueToken.kind === PLUS_TOKEN) valueToken = valueToken.next; |
- return Math.parseInt(valueToken.value.slowToString()); |
+ return parseInt(valueToken.value.slowToString()); |
} catch (FormatException ex) { |
(this.handler)(token, ex); |
} |
@@ -683,7 +683,7 @@ class LiteralDouble extends Literal<double> { |
try { |
Token valueToken = token; |
if (valueToken.kind === PLUS_TOKEN) valueToken = valueToken.next; |
- return Math.parseDouble(valueToken.value.slowToString()); |
+ return parseDouble(valueToken.value.slowToString()); |
} catch (FormatException ex) { |
(this.handler)(token, ex); |
} |