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

Unified Diff: utils/template/utils.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: utils/template/utils.dart
diff --git a/utils/template/utils.dart b/utils/template/utils.dart
index 4d540de040e76487e287f061bea99138fe3fc333..97aa3d2e9425ad47dabc0b5ce8ac6dafddb49d63 100644
--- a/utils/template/utils.dart
+++ b/utils/template/utils.dart
@@ -44,7 +44,7 @@ List zip(Iterable left, Iterable right, mapper(left, right)) {
result.add(mapper(x.next(), y.next()));
}
if (x.hasNext() || y.hasNext()) {
- throw new IllegalArgumentException();
+ throw new ArgumentError();
}
return result;
}

Powered by Google App Engine
This is Rietveld 408576698