OLD | NEW |
(Empty) | |
| 1 dart_library.library('language/execute_finally12_test', null, /* Imports */[ |
| 2 'dart_sdk', |
| 3 'expect' |
| 4 ], function load__execute_finally12_test(exports, dart_sdk, expect) { |
| 5 'use strict'; |
| 6 const core = dart_sdk.core; |
| 7 const dart = dart_sdk.dart; |
| 8 const dartx = dart_sdk.dartx; |
| 9 const expect$ = expect.expect; |
| 10 const execute_finally12_test = Object.create(null); |
| 11 let VoidTodynamic = () => (VoidTodynamic = dart.constFn(dart.definiteFunctionT
ype(dart.dynamic, [])))(); |
| 12 execute_finally12_test.a = null; |
| 13 execute_finally12_test.foo = function() { |
| 14 let b = dart.equals(execute_finally12_test.a, 8); |
| 15 while (!b) { |
| 16 try { |
| 17 try { |
| 18 } finally { |
| 19 execute_finally12_test.a = 8; |
| 20 break; |
| 21 } |
| 22 } finally { |
| 23 return dart.equals(execute_finally12_test.a, 8); |
| 24 } |
| 25 } |
| 26 }; |
| 27 dart.fn(execute_finally12_test.foo, VoidTodynamic()); |
| 28 execute_finally12_test.main = function() { |
| 29 expect$.Expect.isTrue(execute_finally12_test.foo()); |
| 30 }; |
| 31 dart.fn(execute_finally12_test.main, VoidTodynamic()); |
| 32 // Exports: |
| 33 exports.execute_finally12_test = execute_finally12_test; |
| 34 }); |
OLD | NEW |