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

Unified Diff: test/codegen/expect/sunflower/sunflower.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/script.js ('k') | test/codegen/expect/sunflower/sunflower.js.map » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/codegen/expect/sunflower/sunflower.js
diff --git a/test/codegen/expect/sunflower/sunflower.js b/test/codegen/expect/sunflower/sunflower.js
index 7e3ed9a060ae81e74797fe6ccbd2bae08a5b92d0..f56dfd0cb439a663072740e848eefd07128fa864 100644
--- a/test/codegen/expect/sunflower/sunflower.js
+++ b/test/codegen/expect/sunflower/sunflower.js
@@ -60,7 +60,7 @@ dart_library.library('sunflower', null, /* Imports */[
let y = sunflower.centerY - r * dart.notNull(math.sin(theta));
new sunflower.SunflowerSeed(x, y, sunflower.SEED_RADIUS).draw(sunflower.context);
}
- sunflower.notes[dartx.text] = `${sunflower.seeds} seeds`;
+ sunflower.notes[dartx.text] = dart.str`${sunflower.seeds} seeds`;
};
dart.fn(sunflower.draw, dart.void, []);
circle.Circle = class Circle extends core.Object {
« no previous file with comments | « test/codegen/expect/script.js ('k') | test/codegen/expect/sunflower/sunflower.js.map » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698