OLD | NEW |
1 dart_library.library('try_catch', null, /* Imports */[ | 1 dart_library.library('try_catch', null, /* Imports */[ |
2 "dart/_runtime", | 2 'dart/_runtime', |
3 'dart/core' | 3 'dart/core' |
4 ], /* Lazy imports */[ | 4 ], /* Lazy imports */[ |
5 ], function(exports, dart, core) { | 5 ], function(exports, dart, core) { |
6 'use strict'; | 6 'use strict'; |
7 let dartx = dart.dartx; | 7 let dartx = dart.dartx; |
8 function foo() { | 8 function foo() { |
9 try { | 9 try { |
10 dart.throw("hi there"); | 10 dart.throw("hi there"); |
11 } catch (e$) { | 11 } catch (e$) { |
12 if (dart.is(e$, core.String)) { | 12 if (dart.is(e$, core.String)) { |
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
72 } | 72 } |
73 dart.fn(main); | 73 dart.fn(main); |
74 // Exports: | 74 // Exports: |
75 exports.foo = foo; | 75 exports.foo = foo; |
76 exports.bar = bar; | 76 exports.bar = bar; |
77 exports.baz = baz; | 77 exports.baz = baz; |
78 exports.qux = qux; | 78 exports.qux = qux; |
79 exports.wub = wub; | 79 exports.wub = wub; |
80 exports.main = main; | 80 exports.main = main; |
81 }); | 81 }); |
OLD | NEW |