blob: c71670ba259a0b0667be844c5aeb0901196a7e08 [file] [log] [blame]
// Copyright (c) 2022, 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.
// Regression test for https://github.com/dart-lang/sdk/issues/48323.
// Verifies that class finalization doesn't crash when seeing
// superclass with type arguments which were not finalized yet.
// @dart = 2.9
abstract class GraphNode extends Comparable<dynamic> {
int compareTo(dynamic other) => 0;
}
abstract class StreamNode<T> extends GraphNode {}
class TransformNode<S, T> extends StreamNode<T> {}
main() {
print(TransformNode());
}