Chromium Code Reviews| Index: corelib/src/exceptions.dart |
| =================================================================== |
| --- corelib/src/exceptions.dart (revision 3850) |
| +++ corelib/src/exceptions.dart (working copy) |
| @@ -1,4 +1,4 @@ |
| -// Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| +// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| // for details. All rights reserved. Use of this source code is governed by a |
| // BSD-style license that can be found in the LICENSE file. |
| @@ -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; |
|
siva
2012/02/02 19:55:24
What is our normal style in library code, if we do
turnidge
2012/02/13 21:13:58
I recall that it didn't let me use "var" here, but
|
| } |