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

Unified Diff: runtime/vm/snapshot_test.cc

Issue 10536129: Eliminate a couple of uses of String + (Closed) Base URL: http://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 | « runtime/vm/custom_isolate_test.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/snapshot_test.cc
===================================================================
--- runtime/vm/snapshot_test.cc (revision 8558)
+++ runtime/vm/snapshot_test.cc (working copy)
@@ -1459,11 +1459,11 @@
" var port = new ReceivePort();\n"
" port.receive((message, replyTo) {\n"
" if (messageCount < 7) {\n"
- " exception += message.toString();\n"
+ " exception = '$exception${message}';\n"
" } else {\n"
- " exception += message.length;\n"
+ " exception = '$exception${message.length}';\n"
" for (int i = 0; i < message.length; i++) {\n"
- " exception += message[i];\n"
+ " exception = '$exception${message[i]}';\n"
" }\n"
" }\n"
" messageCount++;\n"
« no previous file with comments | « runtime/vm/custom_isolate_test.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698