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

Unified Diff: test/codegen/expect/notnull.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/misc.js ('k') | test/codegen/expect/script.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/codegen/expect/notnull.js
diff --git a/test/codegen/expect/notnull.js b/test/codegen/expect/notnull.js
index 5f396e6c8f75c4ef80358a8d87ae876bcd934f57..020f8447b030cca6571583d2a2f5ccd3033d8ab9 100644
--- a/test/codegen/expect/notnull.js
+++ b/test/codegen/expect/notnull.js
@@ -220,7 +220,7 @@ dart_library.library('notnull', null, /* Imports */[
dart.dsend(null, 'foo');
} catch (e) {
let trace = dart.stackTrace(e);
- core.print(`${typeof e == 'string' ? e : dart.toString(e)} at ${trace}`);
+ core.print(dart.str`${typeof e == 'string' ? e : dart.toString(e)} at ${trace}`);
}
};
« no previous file with comments | « test/codegen/expect/misc.js ('k') | test/codegen/expect/script.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698