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

Unified Diff: test/codegen/expect/misc.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
Index: test/codegen/expect/misc.js
diff --git a/test/codegen/expect/misc.js b/test/codegen/expect/misc.js
index 1efcc3be28d0fe56244e14be275a4eba28851b79..44bd4f6080f58cf9fe94e3765909763425498aba 100644
--- a/test/codegen/expect/misc.js
+++ b/test/codegen/expect/misc.js
@@ -6,6 +6,9 @@ var core = dart.import(core);
_Uninitialized() {
}
}
+ dart.setSignature(_Uninitialized, {
+ constructors: () => ({_Uninitialized: [_Uninitialized, []]})
+ });
let UNINITIALIZED = dart.const(new _Uninitialized());
let Generic$ = dart.generic(function(T) {
class Generic extends core.Object {

Powered by Google App Engine
This is Rietveld 408576698