a09ec46da6
+ fixes for switch and continue Change-Id: I1f4fb9327b9db08eb69f750a66073affe2659f7d Reviewed-on: https://dart-review.googlesource.com/c/81603 Commit-Queue: Johnni Winther <johnniwinther@google.com> Reviewed-by: Sigmund Cherem <sigmund@google.com>
18 lines
380 B
Dart
18 lines
380 B
Dart
// Copyright (c) 2018, the Dart project authors. Please see the AUTHORS file
|
|
// for details. All rights reserved. Use of this source code is governed by a
|
|
// BSD-style license that can be found in the LICENSE file.
|
|
|
|
main() {
|
|
switchCaseWithContinue(null);
|
|
}
|
|
|
|
switchCaseWithContinue(e) {
|
|
switch (e) {
|
|
label:
|
|
case 0:
|
|
break;
|
|
case 1:
|
|
continue label;
|
|
}
|
|
}
|