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

Unified Diff: test/codegen/expect/opassign.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/names.js ('k') | test/codegen/expect/sunflower/dom.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/codegen/expect/opassign.js
diff --git a/test/codegen/expect/opassign.js b/test/codegen/expect/opassign.js
index 6afb908a1c580985acd1ad959f362be151c47e50..beb4ed5d93d8cf503f572cf9bce7e690092f606e 100644
--- a/test/codegen/expect/opassign.js
+++ b/test/codegen/expect/opassign.js
@@ -24,7 +24,7 @@ var core = dart.import(core);
this.x = 100;
}
}
- // Function main: () → dynamic
+ dart.setSignature(Foo, {});
function main() {
let f = dart.map([0, 40]);
core.print('should only call "index" 2 times:');
@@ -47,9 +47,10 @@ var core = dart.import(core);
let i$ = exports.index;
f.set(i$, dart.dsend(f.get(i$), '+', f.get(exports.index)));
}
- // Function forcePostfix: (dynamic) → dynamic
+ dart.fn(main);
function forcePostfix(x) {
}
+ dart.fn(forcePostfix);
// Exports:
exports.Foo = Foo;
exports.main = main;
« no previous file with comments | « test/codegen/expect/names.js ('k') | test/codegen/expect/sunflower/dom.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698