5f29d40b0f
Closes #37692. Bug: http://dartbug.com/37692 Change-Id: I2301cf693dc82133681e3969211103bc57880d82 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/134330 Commit-Queue: Dmitry Stefantsov <dmitryas@google.com> Reviewed-by: Johnni Winther <johnniwinther@google.com>
11 lines
288 B
Dart
11 lines
288 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.
|
|
|
|
abstract class A {
|
|
T bar<T>();
|
|
String foo() => bar()!;
|
|
}
|
|
|
|
main() {}
|