OLD | NEW |
(Empty) | |
| 1 dart_library.library('language/issue22800_test', null, /* Imports */[ |
| 2 'dart_sdk' |
| 3 ], function load__issue22800_test(exports, dart_sdk) { |
| 4 'use strict'; |
| 5 const core = dart_sdk.core; |
| 6 const dart = dart_sdk.dart; |
| 7 const dartx = dart_sdk.dartx; |
| 8 const issue22800_test = Object.create(null); |
| 9 let VoidTovoid = () => (VoidTovoid = dart.constFn(dart.definiteFunctionType(da
rt.void, [])))(); |
| 10 issue22800_test.main = function() { |
| 11 try { |
| 12 core.print("Starting here"); |
| 13 dart.throw(0); |
| 14 try { |
| 15 } catch (e) { |
| 16 } |
| 17 |
| 18 } catch (e) { |
| 19 core.print(dart.str`Caught in here: ${e}`); |
| 20 } |
| 21 |
| 22 try { |
| 23 } catch (e) { |
| 24 } |
| 25 |
| 26 }; |
| 27 dart.fn(issue22800_test.main, VoidTovoid()); |
| 28 // Exports: |
| 29 exports.issue22800_test = issue22800_test; |
| 30 }); |
OLD | NEW |