OLD | NEW |
1 var try_catch = dart.defineLibrary(try_catch, {}); | 1 dart.library('try_catch', null, /* Imports */[ |
2 var core = dart.import(core); | 2 'dart/core' |
3 (function(exports, core) { | 3 ], /* Lazy imports */[ |
| 4 ], function(exports, core) { |
4 'use strict'; | 5 'use strict'; |
5 function foo() { | 6 function foo() { |
6 try { | 7 try { |
7 throw "hi there"; | 8 throw "hi there"; |
8 } catch (e$) { | 9 } catch (e$) { |
9 if (dart.is(e$, core.String)) { | 10 if (dart.is(e$, core.String)) { |
10 let e = e$; | 11 let e = e$; |
11 let t = dart.stackTrace(e); | 12 let t = dart.stackTrace(e); |
12 } else { | 13 } else { |
13 let e = e$; | 14 let e = e$; |
(...skipping 54 matching lines...) Loading... |
68 wub(); | 69 wub(); |
69 } | 70 } |
70 dart.fn(main); | 71 dart.fn(main); |
71 // Exports: | 72 // Exports: |
72 exports.foo = foo; | 73 exports.foo = foo; |
73 exports.bar = bar; | 74 exports.bar = bar; |
74 exports.baz = baz; | 75 exports.baz = baz; |
75 exports.qux = qux; | 76 exports.qux = qux; |
76 exports.wub = wub; | 77 exports.wub = wub; |
77 exports.main = main; | 78 exports.main = main; |
78 })(try_catch, core); | 79 }); |
OLD | NEW |