9ea431c158
This bug doesn't depend on exports and instead of the constructed class hierarchy. See: https://dart-review.googlesource.com/c/sdk/+/162383/comment/9196db98_412d446d/ Change-Id: Ib107d3fa3ab7782bee5db59754583b20976832a6 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/162785 Reviewed-by: Sigmund Cherem <sigmund@google.com> Commit-Queue: Mark Zhou <markzipan@google.com>
14 lines
394 B
Dart
14 lines
394 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 for cyclic class hierarchy seen in: https://github.com/flutter/flutter/issues/64011
|
|
|
|
class A extends B<C> {}
|
|
|
|
class C extends A {}
|
|
|
|
class B<T> {}
|
|
|
|
main() => print(A());
|