Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(33)

Side by Side Diff: pkg/kernel/testcases/interpreter/break_test.dart

Issue 2991113002: Add support for finalizer of TryFinally in labeled statements (Closed)
Patch Set: Apply comment Created 3 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 // Copyright (c) 2017, the Dart project authors. Please see the AUTHORS file
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.
4
5 main() {
6 int i = 0;
7 while (true) {
8 try {
9 if (i == 5) {
10 break;
11 }
12 } catch (e, _) {} finally {
13 print('Finally with i=$i');
14 }
15 print(i);
16 i++;
17 }
18 }
OLDNEW
« no previous file with comments | « pkg/kernel/lib/interpreter/interpreter.dart ('k') | pkg/kernel/testcases/interpreter/break_test.dart.expect » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698