| OLD | NEW |
| 1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
| 3 // BSD-style license that can be found in the LICENSE file. | 3 // BSD-style license that can be found in the LICENSE file. |
| 4 | 4 |
| 5 // Await within a try-catch block, no error occurs. | 5 // Await within a try-catch block, no error occurs. |
| 6 | 6 |
| 7 #import("await_test_helper.dart"); | 7 #import("await_test_helper.dart"); |
| 8 | 8 |
| 9 noerror() { | 9 noerror() { |
| 10 try { | 10 try { |
| (...skipping 27 matching lines...) Expand all Loading... |
| 38 // } | 38 // } |
| 39 // return false; | 39 // return false; |
| 40 // }); | 40 // }); |
| 41 // Futures.propagateError(f, _ret); | 41 // Futures.propagateError(f, _ret); |
| 42 // return _ret; | 42 // return _ret; |
| 43 // } catch(Ex1 ex) { | 43 // } catch(Ex1 ex) { |
| 44 // _catch(ex); | 44 // _catch(ex); |
| 45 // return _ret; | 45 // return _ret; |
| 46 // } | 46 // } |
| 47 // } | 47 // } |
| OLD | NEW |