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

Unified Diff: corelib/src/exceptions.dart

Issue 9690003: - Fix use of String operator + in runtime and standalone libraries. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 9 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 | corelib/src/expect.dart » ('j') | 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 5311)
+++ corelib/src/exceptions.dart (working copy)
@@ -49,8 +49,9 @@
sb.add(_arguments[i]);
}
if (_existingArgumentNames === null) {
- return "NoSuchMethodException : method not found: '$_functionName'\n" +
- "Receiver: $_receiver\n" + "Arguments: [$sb]";
+ return "NoSuchMethodException : method not found: '$_functionName'\n"
+ "Receiver: $_receiver\n"
+ "Arguments: [$sb]";
} else {
String actualParameters = sb.toString();
sb = new StringBuffer();
@@ -61,9 +62,9 @@
sb.add(_existingArgumentNames[i]);
}
String formalParameters = sb.toString();
- return "NoSuchMethodException: incorrect number of arguments passed to " +
- "method named '$_functionName'\nReceiver: $_receiver\n" +
- "Tried calling: $_functionName($actualParameters)\n" +
+ return "NoSuchMethodException: incorrect number of arguments passed to "
+ "method named '$_functionName'\nReceiver: $_receiver\n"
+ "Tried calling: $_functionName($actualParameters)\n"
"Found: $_functionName($formalParameters)";
}
}
« no previous file with comments | « no previous file | corelib/src/expect.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698