9910fa8454
This CL is a squashing of the following smaller CLs: * https://dart-review.googlesource.com/c/sdk/+/120669/ * https://dart-review.googlesource.com/c/sdk/+/120670/ * https://dart-review.googlesource.com/c/sdk/+/121331/ * https://dart-review.googlesource.com/c/sdk/+/121381/ * https://dart-review.googlesource.com/c/sdk/+/121383/ * https://dart-review.googlesource.com/c/sdk/+/121620/ * https://dart-review.googlesource.com/c/sdk/+/121707/ * https://dart-review.googlesource.com/c/sdk/+/122144/ * https://dart-review.googlesource.com/c/sdk/+/122360/ * https://dart-review.googlesource.com/c/sdk/+/122381/ * https://dart-review.googlesource.com/c/sdk/+/122783/ * https://dart-review.googlesource.com/c/sdk/+/122787/ Change-Id: I9d850f531f0fce07055ff9b5cd39abb605752005 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/122868 Reviewed-by: Johnni Winther <johnniwinther@google.com> Commit-Queue: Dmitry Stefantsov <dmitryas@google.com>
14 lines
360 B
Dart
14 lines
360 B
Dart
// Copyright (c) 2019, 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.
|
|
|
|
// This test checks how programs with Never type in their outline compile.
|
|
|
|
Never foo() {
|
|
while (true) {}
|
|
}
|
|
|
|
Never? bar() => null;
|
|
|
|
main() {}
|