blob: f44db9c95aa9ff5bbb0aab9d5a7aea5d04c1ca9e [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.
// This test checks that the error message is not duplicated in the case when
// the same raw generic type with non-simple bounds is used in the bound of a
// type variable.
class A<TypeX extends A<TypeX>> {}
class B<TypeY extends Map<A, A>> {}
extension C<TypeY extends Map<A, A>> on int {}
typedef D<TypeY extends Map<A, A>> = int;
main() {}