Files
sdk/tests/language/instantiate_to_bound/issue40764_test.dart
T
Konstantin Shcheglov 0c7b9cf470 Issue 40764. Use Never instead of Null when converting super-bounded to regular-bounded.
Bug: https://github.com/dart-lang/sdk/issues/40764
Change-Id: I58f0e9860dd000aa2d8e416c5fce7e8964db0ef8
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/137280
Commit-Queue: Konstantin Shcheglov <scheglov@google.com>
Reviewed-by: Paul Berry <paulberry@google.com>
2020-02-26 20:12:51 +00:00

6 lines
59 B
Dart

class A<X extends A<X>> {}
A get g => throw 0;
main() {}