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

Unified Diff: lib/runtime/dart/_foreign_helper.js

Issue 1355893003: Rewire DDC to use the analyzer task model (Closed) Base URL: https://github.com/dart-lang/dev_compiler.git@master
Patch Set: Created 5 years, 3 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 | « no previous file | lib/runtime/dart/_interceptors.js » ('j') | pubspec.yaml » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/runtime/dart/_foreign_helper.js
diff --git a/lib/runtime/dart/_foreign_helper.js b/lib/runtime/dart/_foreign_helper.js
index 166c7e190744f5463d6862e98106bf8312821187..81da65fbf7be58022304de11123a833d13261a2a 100644
--- a/lib/runtime/dart/_foreign_helper.js
+++ b/lib/runtime/dart/_foreign_helper.js
@@ -118,7 +118,7 @@ dart_library.library('dart/_foreign_helper', null, /* Imports */[
constructors: () => ({JS_CONST: [JS_CONST, [core.String]]})
});
function JS_STRING_CONCAT(a, b) {
- return a + b;
+ return dart.as(a + b, core.String);
Jennifer Messerly 2015/09/19 00:18:46 what happened here? This returns String: String J
Jennifer Messerly 2015/09/19 00:27:51 Ah, could be we lost this code: https://github.com
Leaf 2015/09/21 17:15:59 Yes, I have't pulled this over yet. I was a littl
Jennifer Messerly 2015/09/21 18:18:59 yup, see here: https://github.com/dart-lang/sdk/bl
}
dart.fn(JS_STRING_CONCAT, core.String, [core.String, core.String]);
// Exports:
« no previous file with comments | « no previous file | lib/runtime/dart/_interceptors.js » ('j') | pubspec.yaml » ('J')

Powered by Google App Engine
This is Rietveld 408576698