425e4dbe09
Closes #44455. Closes #34803. Closes #42434. Bug: https://github.com/dart-lang/sdk/issues/44455 Bug: https://github.com/dart-lang/sdk/issues/34803 Bug: https://github.com/dart-lang/sdk/issues/42434 Change-Id: I3be93b0d4a251de79c3bfe9829143f0fbec201ab Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/181402 Commit-Queue: Dmitry Stefantsov <dmitryas@google.com> Reviewed-by: Johnni Winther <johnniwinther@google.com>
12 lines
367 B
Dart
12 lines
367 B
Dart
// Copyright (c) 2021, 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.
|
|
|
|
typedef F<Y extends num> = Y Function();
|
|
class A<X extends F<X>> {}
|
|
|
|
class A2<X extends F2<X>> {}
|
|
typedef F2<Y extends num> = Y Function();
|
|
|
|
main() {}
|