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

Unified Diff: corelib/src/exceptions.dart

Issue 9307067: Make IllegalArgumentException more forgiving about its arguments. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 11 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: corelib/src/exceptions.dart
===================================================================
--- corelib/src/exceptions.dart (revision 3850)
+++ corelib/src/exceptions.dart (working copy)
@@ -71,9 +71,9 @@
class IllegalArgumentException implements Exception {
- const IllegalArgumentException([args = ""]) : _args = args;
- String toString() => "Illegal argument(s): $_args";
- final String _args;
+ const IllegalArgumentException([arg = ""]) : _arg = arg;
+ String toString() => "Illegal argument(s): $_arg";
+ final _arg;
jjb 2012/02/02 18:36:25 This is a fine stopgap. In the long run, we need:
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698