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

Unified Diff: dart/samples/proxy/proxy.dart

Issue 10553007: Remove support for String operator + from dart2js. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge
Patch Set: Update co19 status 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
Index: dart/samples/proxy/proxy.dart
diff --git a/dart/samples/proxy/proxy.dart b/dart/samples/proxy/proxy.dart
index da8077abf0511ab220538f848648eccfa8ed2941..2b5c5573071985aaddf7d7686df909e5484b07b3 100644
--- a/dart/samples/proxy/proxy.dart
+++ b/dart/samples/proxy/proxy.dart
@@ -222,7 +222,7 @@ class RpcException implements Exception {
}
static String format(Object e) {
- return prefix + e.toString();
+ return "$prefix$e";
}
static RpcException parse(Object object) {

Powered by Google App Engine
This is Rietveld 408576698