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

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: Add missing file 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
« lib/runtime/types.js ('K') | « test/codegen/expect/temps.js ('k') | no next file » | 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 loader.library('try_catch', null, /* Imports */[
2 "dart/dart_runtime",
3 "dart/dartx",
2 'dart/core' 4 'dart/core'
3 ], /* Lazy imports */[ 5 ], /* Lazy imports */[
4 ], function(exports, core) { 6 ], function(exports, dart, dartx, core) {
5 'use strict'; 7 'use strict';
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$;
(...skipping 55 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
« lib/runtime/types.js ('K') | « test/codegen/expect/temps.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698