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

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

Issue 962083002: support the JS builtin (Closed) Base URL: git@github.com:dart-lang/dev_compiler.git@master
Patch Set: Created 5 years, 10 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 | « lib/src/js/builder.dart ('k') | test/codegen/expect/_interceptors/_interceptors.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/codegen/expect/_foreign_helper/_foreign_helper.js
diff --git a/test/codegen/expect/_foreign_helper/_foreign_helper.js b/test/codegen/expect/_foreign_helper/_foreign_helper.js
index d29fef02a5ea0ace4e091607f3266dd9a83349c9..0943610390d5b6973f0fa127507caf91293406c6 100644
--- a/test/codegen/expect/_foreign_helper/_foreign_helper.js
+++ b/test/codegen/expect/_foreign_helper/_foreign_helper.js
@@ -119,7 +119,7 @@ var _foreign_helper;
}
// Function JS_STRING_CONCAT: (String, String) → String
function JS_STRING_CONCAT(a, b) {
- return dart.as(JS('String', '# + #', a, b), core.String);
+ return a + b;
}
// Exports:
_foreign_helper.JS = JS;
« no previous file with comments | « lib/src/js/builder.dart ('k') | test/codegen/expect/_interceptors/_interceptors.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698