blob: c4cd0c48539e6e3e10d9b23860ff0c6016d3633b [file] [log] [blame]
// Copyright (c) 2018, 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.
// @dart=2.9
// This test checks that contravariant occurrences of mutually dependent type
// variables in the bounds of all of these type variables are replaced with
// Null.
class D<X extends void Function(X, Y), Y extends void Function(X, Y)> {}
D d;
class E<X extends void Function(X)> {}
E e;
main() {}