OLD | NEW |
1 var try_catch; | 1 var try_catch = dart.defineLibrary(try_catch, {}); |
2 (function(exports) { | 2 var core = dart.import(core); |
| 3 (function(exports, core) { |
3 'use strict'; | 4 'use strict'; |
4 // Function foo: () → dynamic | 5 // Function foo: () → dynamic |
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 { |
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
67 qux(); | 68 qux(); |
68 wub(); | 69 wub(); |
69 } | 70 } |
70 // Exports: | 71 // Exports: |
71 exports.foo = foo; | 72 exports.foo = foo; |
72 exports.bar = bar; | 73 exports.bar = bar; |
73 exports.baz = baz; | 74 exports.baz = baz; |
74 exports.qux = qux; | 75 exports.qux = qux; |
75 exports.wub = wub; | 76 exports.wub = wub; |
76 exports.main = main; | 77 exports.main = main; |
77 })(try_catch || (try_catch = {})); | 78 })(try_catch, core); |
OLD | NEW |