| OLD | NEW |
| 1 dart_library.library('try_catch', null, /* Imports */[ | 1 dart_library.library('try_catch', null, /* Imports */[ |
| 2 "dart_runtime/dart", | 2 "dart_runtime/dart", |
| 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"); |
| (...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 57 dart.throw("on without exception parameter"); | 57 dart.throw("on without exception parameter"); |
| 58 } catch (e) { | 58 } catch (e) { |
| 59 if (dart.is(e, core.String)) { | 59 if (dart.is(e, core.String)) { |
| 60 } else | 60 } else |
| 61 throw e; | 61 throw e; |
| 62 } | 62 } |
| 63 | 63 |
| 64 } | 64 } |
| 65 dart.fn(wub); | 65 dart.fn(wub); |
| 66 function main() { | 66 function main() { |
| 67 foo(); | 67 dart.dcall(foo); |
| 68 bar(); | 68 dart.dcall(bar); |
| 69 baz(); | 69 dart.dcall(baz); |
| 70 qux(); | 70 dart.dcall(qux); |
| 71 wub(); | 71 dart.dcall(wub); |
| 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 |