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

Unified Diff: test/codegen/expect/try_catch.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/temps.js ('k') | test/codegen/methods.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/codegen/expect/try_catch.js
diff --git a/test/codegen/expect/try_catch.js b/test/codegen/expect/try_catch.js
index 199e26cbb95378d446608d069a40c52043273817..6695fd2ce65fba18d6e29f9a37d4ac26574ccb3e 100644
--- a/test/codegen/expect/try_catch.js
+++ b/test/codegen/expect/try_catch.js
@@ -2,7 +2,6 @@ var try_catch = dart.defineLibrary(try_catch, {});
var core = dart.import(core);
(function(exports, core) {
'use strict';
- // Function foo: () → dynamic
function foo() {
try {
throw "hi there";
@@ -18,7 +17,7 @@ var core = dart.import(core);
}
}
- // Function bar: () → dynamic
+ dart.fn(foo);
function bar() {
try {
throw "hi there";
@@ -28,7 +27,7 @@ var core = dart.import(core);
}
}
- // Function baz: () → dynamic
+ dart.fn(bar);
function baz() {
try {
throw "finally only";
@@ -36,7 +35,7 @@ var core = dart.import(core);
return true;
}
}
- // Function qux: () → dynamic
+ dart.fn(baz);
function qux() {
try {
throw "on only";
@@ -49,7 +48,7 @@ var core = dart.import(core);
}
}
- // Function wub: () → dynamic
+ dart.fn(qux);
function wub() {
try {
throw "on without exception parameter";
@@ -60,7 +59,7 @@ var core = dart.import(core);
}
}
- // Function main: () → dynamic
+ dart.fn(wub);
function main() {
foo();
bar();
@@ -68,6 +67,7 @@ var core = dart.import(core);
qux();
wub();
}
+ dart.fn(main);
// Exports:
exports.foo = foo;
exports.bar = bar;
« no previous file with comments | « test/codegen/expect/temps.js ('k') | test/codegen/methods.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698