Files
sdk/pkg/front_end/testcases/nnbd/issue41108.dart
T
Johnni Winther 84d71cdf18 [cfe] Add regression test for 41108
Closes #41108

Change-Id: I6b2f7fb5624901c298e4d4cccb691cfdc52f4e19
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/155322
Reviewed-by: Dmitry Stefantsov <dmitryas@google.com>
2020-07-27 16:02:47 +00:00

12 lines
315 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() async {
List y = await l(); // should be a List?
}
Future<List>? l() => null;
main() {}