OLD | NEW |
1 // Copyright (c) 2016, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2016, 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 foo() { | 5 foo() { |
6 try { | 6 try { |
7 return; | 7 return; |
8 } finally { | 8 } finally { |
9 print("Hello from finally block!"); | 9 print("Hello from finally block!"); |
10 } | 10 } |
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
95 if (++i < 3) continue; | 95 if (++i < 3) continue; |
96 break; | 96 break; |
97 } while (true); | 97 } while (true); |
98 i = 0; | 98 i = 0; |
99 OUTER: while (true) { | 99 OUTER: while (true) { |
100 print("Hello from while!"); | 100 print("Hello from while!"); |
101 if (++i < 3) continue OUTER; | 101 if (++i < 3) continue OUTER; |
102 break OUTER; | 102 break OUTER; |
103 } | 103 } |
104 } | 104 } |
OLD | NEW |