Index: runtime/lib/integers.dart |
diff --git a/runtime/lib/integers.dart b/runtime/lib/integers.dart |
index 14ed12301620e6b1229ed343d5c6c1193ed97753..85a4e4609711ac676d1d1811b7a41db8e87c4626 100644 |
--- a/runtime/lib/integers.dart |
+++ b/runtime/lib/integers.dart |
@@ -158,7 +158,7 @@ class _IntegerImplementation { |
"k", "l", "m", "n", "o", "p", "q", "r", "s", "t", |
"u", "v", "w", "x", "y", "z"]; |
if (radix < 2 || radix > 36) { |
- throw new IllegalArgumentException(radix); |
+ throw new ArgumentError(radix); |
} |
final bool isNegative = this < 0; |
var value = isNegative ? -this : this; |