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

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

Issue 1988503002: Move generated files to gen/. (Closed) Base URL: https://github.com/dart-lang/dev_compiler.git@master
Patch Set: Revise. Created 4 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.txt ('k') | test/codegen/expect/try_catch.txt » ('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
deleted file mode 100644
index 56eb7bc103c46542d1da44df35e353d62d221cb8..0000000000000000000000000000000000000000
--- a/test/codegen/expect/try_catch.js
+++ /dev/null
@@ -1,77 +0,0 @@
-dart_library.library('try_catch', null, /* Imports */[
- 'dart_sdk'
-], function(exports, dart_sdk) {
- 'use strict';
- const core = dart_sdk.core;
- const dart = dart_sdk.dart;
- const dartx = dart_sdk.dartx;
- const try_catch = Object.create(null);
- try_catch.foo = function() {
- try {
- dart.throw("hi there");
- } catch (e$) {
- if (dart.is(e$, core.String)) {
- let e = e$;
- let t = dart.stackTrace(e);
- } else {
- let e = e$;
- let t = dart.stackTrace(e);
- throw e;
- }
- }
-
- };
- dart.fn(try_catch.foo);
- try_catch.bar = function() {
- try {
- dart.throw("hi there");
- } catch (e$) {
- let e = e$;
- let t = dart.stackTrace(e);
- }
-
- };
- dart.fn(try_catch.bar);
- try_catch.baz = function() {
- try {
- dart.throw("finally only");
- } finally {
- return true;
- }
- };
- dart.fn(try_catch.baz);
- try_catch.qux = function() {
- try {
- dart.throw("on only");
- } catch (e) {
- if (dart.is(e, core.String)) {
- let t = dart.stackTrace(e);
- throw e;
- } else
- throw e;
- }
-
- };
- dart.fn(try_catch.qux);
- try_catch.wub = function() {
- try {
- dart.throw("on without exception parameter");
- } catch (e) {
- if (dart.is(e, core.String)) {
- } else
- throw e;
- }
-
- };
- dart.fn(try_catch.wub);
- try_catch.main = function() {
- try_catch.foo();
- try_catch.bar();
- try_catch.baz();
- try_catch.qux();
- try_catch.wub();
- };
- dart.fn(try_catch.main);
- // Exports:
- exports.try_catch = try_catch;
-});
« no previous file with comments | « test/codegen/expect/temps.txt ('k') | test/codegen/expect/try_catch.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698