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

Unified Diff: test/codegen/expect/script.js

Issue 1989663002: fix #470, string interpolation now respects Dart toString (Closed) Base URL: git@github.com:dart-lang/dev_compiler.git@master
Patch Set: Created 4 years, 7 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 | « test/codegen/expect/notnull.js ('k') | test/codegen/expect/sunflower/sunflower.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/codegen/expect/script.js
diff --git a/test/codegen/expect/script.js b/test/codegen/expect/script.js
index 472596a2801b7f3a6aa62f88311f6364b45106a2..c6f8119e8c6c5b15815c96980e43225bd4a28d8f 100644
--- a/test/codegen/expect/script.js
+++ b/test/codegen/expect/script.js
@@ -9,7 +9,7 @@ dart_library.library('script', null, /* Imports */[
script.main = function(args) {
let name = args[dartx.join](' ');
if (name == '') name = 'world';
- core.print(`hello ${name}`);
+ core.print(dart.str`hello ${name}`);
};
dart.fn(script.main, dart.void, [core.List$(core.String)]);
// Exports:
« no previous file with comments | « test/codegen/expect/notnull.js ('k') | test/codegen/expect/sunflower/sunflower.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698