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

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: Fix for identifiers 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') | lib/runtime/dart/collection.js » ('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);
}
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') | lib/runtime/dart/collection.js » ('J')

Powered by Google App Engine
This is Rietveld 408576698