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

Unified Diff: lib/core/comparable.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/core/comparable.dart
diff --git a/lib/core/comparable.dart b/lib/core/comparable.dart
index 75da3e378b0481531a95ed800d574b33c65a64cb..3b38f25833519a37b811677c3425f1149070119b 100644
--- a/lib/core/comparable.dart
+++ b/lib/core/comparable.dart
@@ -28,7 +28,7 @@ abstract class Comparable {
*
* Returns a value like a [Comparator] when comparing [:this:] to [other].
*
- * May throw an [IllegalArgumentException] if [other] is of a type that
+ * May throw an [ArgumentError] if [other] is of a type that
* is not comparable to [:this:].
*/
abstract int compareTo(Comparable other);

Powered by Google App Engine
This is Rietveld 408576698