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

Unified Diff: corelib/src/exceptions.dart

Issue 10545114: Removes constructor initializer in named parameter of private member (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: # Created 8 years, 6 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 | lib/unittest/core_matchers.dart » ('j') | lib/unittest/numeric_matchers.dart » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: corelib/src/exceptions.dart
diff --git a/corelib/src/exceptions.dart b/corelib/src/exceptions.dart
index 48ede27290e6295d68739f3a14c27fd1c1d36872..3e95797999cb3a90cce1e2ea8a3e4cd1c8b00e35 100644
--- a/corelib/src/exceptions.dart
+++ b/corelib/src/exceptions.dart
@@ -38,7 +38,8 @@ class NoSuchMethodException implements Exception {
const NoSuchMethodException(Object this._receiver,
String this._functionName,
List this._arguments,
- [List this._existingArgumentNames = null]);
+ [List existingArgumentNames = null]) :
+ this._existingArgumentNames = existingArgumentNames;
String toString() {
StringBuffer sb = new StringBuffer();
@@ -159,7 +160,7 @@ class UnsupportedOperationException implements Exception {
class NotImplementedException implements Exception {
- const NotImplementedException([String this._message]);
+ const NotImplementedException([String message]) : this._message = message;
String toString() => (this._message !== null
? "NotImplementedException: $_message"
: "NotImplementedException");
« no previous file with comments | « no previous file | lib/unittest/core_matchers.dart » ('j') | lib/unittest/numeric_matchers.dart » ('J')

Powered by Google App Engine
This is Rietveld 408576698