Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(520)

Unified Diff: lib/compiler/implementation/ssa/nodes.dart

Issue 10989013: Change IllegalArgumentException to ArgumentError. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Updated co19 test expectations. Created 8 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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;

Powered by Google App Engine
This is Rietveld 408576698