Index: lib/compiler/implementation/ssa/nodes.dart |
diff --git a/lib/compiler/implementation/ssa/nodes.dart b/lib/compiler/implementation/ssa/nodes.dart |
index 72a45cff490db01565a579fda54ec975147da069..a528545e42950420a3e3d9ef622f3fdee79892e8 100644 |
--- a/lib/compiler/implementation/ssa/nodes.dart |
+++ b/lib/compiler/implementation/ssa/nodes.dart |
@@ -1623,7 +1623,7 @@ class HBinaryArithmetic extends HInvokeBinary { |
// not help for the outgoing type, but at least the binary arithmetic |
// operation will not have type problems. |
// TODO(floitsch): normally we shouldn't request a number, but simply |
- // throw an IllegalArgumentException if it isn't. This would be similar |
+ // throw an ArgumentError if it isn't. This would be similar |
// to the array case. |
if (input == right && left.isNumber(types)) return HType.NUMBER; |
return HType.UNKNOWN; |