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: |