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

Unified Diff: test/codegen/expect/misc.js

Issue 1138793002: Tag closures with their types (Closed) Base URL: git@github.com:dart-lang/dev_compiler.git@master
Patch Set: More comment fixes 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 | « test/codegen/expect/methods.txt ('k') | test/codegen/expect/names.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/codegen/expect/misc.js
diff --git a/test/codegen/expect/misc.js b/test/codegen/expect/misc.js
index e46d97eef901d0d0638527479aac3ab04123724a..52cbd985010e04603040e08696a7ca7a06eb6fdc 100644
--- a/test/codegen/expect/misc.js
+++ b/test/codegen/expect/misc.js
@@ -6,6 +6,7 @@ var core = dart.import(core);
_Uninitialized() {
}
}
+ dart.setSignature(_Uninitialized, {});
let UNINITIALIZED = dart.const(new _Uninitialized());
let Generic$ = dart.generic(function(T) {
class Generic extends core.Object {
@@ -13,10 +14,10 @@ var core = dart.import(core);
return Generic$();
}
}
+ dart.setSignature(Generic, {});
return Generic;
});
let Generic = Generic$();
- // Function main: () → dynamic
function main() {
core.print(dart.toString(1));
core.print(dart.toString(1.0));
@@ -26,6 +27,7 @@ var core = dart.import(core);
core.print(dart.equals(x, Generic));
core.print(new (Generic$(core.int))().type);
}
+ dart.fn(main);
// Exports:
exports.UNINITIALIZED = UNINITIALIZED;
exports.Generic$ = Generic$;
« no previous file with comments | « test/codegen/expect/methods.txt ('k') | test/codegen/expect/names.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698