45173623e2
Closes #42459 Change-Id: I77215b0b6dcdf4cdbfd07796c41478087607359f Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/155860 Reviewed-by: Dmitry Stefantsov <dmitryas@google.com>
24 lines
406 B
Dart
24 lines
406 B
Dart
// Copyright (c) 2020, 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.
|
|
|
|
test() {
|
|
(x) {
|
|
if (x) {
|
|
return 1;
|
|
} else {
|
|
return;
|
|
}
|
|
};
|
|
|
|
void local(x) {
|
|
if (x) {
|
|
return print('');
|
|
} else {
|
|
return;
|
|
}
|
|
}
|
|
}
|
|
|
|
main() {}
|