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

Side by Side Diff: test/codegen/expect/try_catch.js

Issue 1182653002: Refactor runtime into libraries, better type reps (Closed) Base URL: git@github.com:dart-lang/dev_compiler.git@master
Patch Set: Address comments 2 Created 5 years, 6 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 unified diff | Download patch
« no previous file with comments | « test/codegen/expect/temps.js ('k') | tool/sdk_expected_errors.txt » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 dart.library('try_catch', null, /* Imports */[ 1 dart_library.library('try_catch', null, /* Imports */[
2 "dart_runtime/dart",
2 'dart/core' 3 'dart/core'
3 ], /* Lazy imports */[ 4 ], /* Lazy imports */[
4 ], function(exports, core) { 5 ], function(exports, dart, core) {
5 'use strict'; 6 'use strict';
7 let dartx = dart.dartx;
6 function foo() { 8 function foo() {
7 try { 9 try {
8 throw "hi there"; 10 throw "hi there";
9 } catch (e$) { 11 } catch (e$) {
10 if (dart.is(e$, core.String)) { 12 if (dart.is(e$, core.String)) {
11 let e = e$; 13 let e = e$;
12 let t = dart.stackTrace(e); 14 let t = dart.stackTrace(e);
13 } else { 15 } else {
14 let e = e$; 16 let e = e$;
15 let t = dart.stackTrace(e); 17 let t = dart.stackTrace(e);
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
70 } 72 }
71 dart.fn(main); 73 dart.fn(main);
72 // Exports: 74 // Exports:
73 exports.foo = foo; 75 exports.foo = foo;
74 exports.bar = bar; 76 exports.bar = bar;
75 exports.baz = baz; 77 exports.baz = baz;
76 exports.qux = qux; 78 exports.qux = qux;
77 exports.wub = wub; 79 exports.wub = wub;
78 exports.main = main; 80 exports.main = main;
79 }); 81 });
OLDNEW
« no previous file with comments | « test/codegen/expect/temps.js ('k') | tool/sdk_expected_errors.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698