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

Unified Diff: tests/compiler/dart2js/js_backend_cps_ir_operators_test.dart

Issue 1563983002: dart2js cps: Eliminate unary string concatenation. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Also update the hint Created 4 years, 11 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 | « pkg/compiler/lib/src/cps_ir/type_propagation.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/compiler/dart2js/js_backend_cps_ir_operators_test.dart
diff --git a/tests/compiler/dart2js/js_backend_cps_ir_operators_test.dart b/tests/compiler/dart2js/js_backend_cps_ir_operators_test.dart
index 152a552a0a46401fa22f718c515a0961952bde87..08914caeaa0c920b14c514cc8b7f6d1a56996c6f 100644
--- a/tests/compiler/dart2js/js_backend_cps_ir_operators_test.dart
+++ b/tests/compiler/dart2js/js_backend_cps_ir_operators_test.dart
@@ -130,11 +130,10 @@ main() {
print(list);
}""", r"""
function() {
- var list = [1, 2, 3], res, v0;
+ var list = [1, 2, 3], v0;
list[1] = 6;
- if (!(typeof (res = C.JSArray_methods.toString$0(list)) === "string"))
+ if (!(typeof (v0 = P.IterableBase_iterableToFullString(list, "[", "]")) === "string"))
throw H.wrapException(H.argumentErrorValue(list));
- v0 = res;
if (typeof dartPrint == "function")
dartPrint(v0);
else if (typeof console == "object" && typeof console.log != "undefined")
« no previous file with comments | « pkg/compiler/lib/src/cps_ir/type_propagation.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698