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

Unified Diff: test/codegen/expect/dir/html_input_d.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/dir/html_input_a.js ('k') | test/codegen/expect/fieldtest.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/codegen/expect/dir/html_input_d.js
diff --git a/test/codegen/expect/dir/html_input_d.js b/test/codegen/expect/dir/html_input_d.js
index b1c27b67ba9327113a1b7c28105e2b13e35c1ecb..f934b4d0514526e7135239b146ad2a6a6cadd808 100644
--- a/test/codegen/expect/dir/html_input_d.js
+++ b/test/codegen/expect/dir/html_input_d.js
@@ -1,10 +1,11 @@
var html_input_d = dart.defineLibrary(html_input_d, {});
-(function(exports) {
+var core = dart.import(core);
+(function(exports, core) {
'use strict';
- // Function fib: (int) → int
function fib(n) {
return n == 0 || n == 1 ? 1 : dart.notNull(fib(dart.notNull(n) - 1)) + dart.notNull(fib(dart.notNull(n) - 2));
}
+ dart.fn(fib, core.int, [core.int]);
// Exports:
exports.fib = fib;
-})(html_input_d);
+})(html_input_d, core);
« no previous file with comments | « test/codegen/expect/dir/html_input_a.js ('k') | test/codegen/expect/fieldtest.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698