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

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

Issue 1152583002: Add constructors to signatures (Closed) Base URL: git@github.com:dart-lang/dev_compiler.git@master
Patch Set: Created 5 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 | « no previous file | lib/runtime/dart/_interceptors.js » ('j') | lib/runtime/dart/core.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 527eb80e71e01e0d7016c2bf202b41764214501e..36cb36e86f86a63c21b1ea60147e7ae421d0affc 100644
--- a/lib/runtime/dart/_foreign_helper.js
+++ b/lib/runtime/dart/_foreign_helper.js
@@ -117,6 +117,9 @@ var core = dart.import(core);
this.code = code;
}
}
+ dart.setSignature(JS_CONST, {
+ constructors: () => ({JS_CONST: [JS_CONST, [core.String]]})
+ });
function JS_STRING_CONCAT(a, b) {
return a + b;
}
« no previous file with comments | « no previous file | lib/runtime/dart/_interceptors.js » ('j') | lib/runtime/dart/core.js » ('J')

Powered by Google App Engine
This is Rietveld 408576698