blob: b789886c951a9ee5f89b3f2aa5fbad7d8fdbed18 [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 an attempt to use a raw generic type with non-simple
// bounds is detected and reported as a compile-time error in case the
// non-simple bound is due to the use of the type variable from the same
// declaration.
class Hest<TypeX extends Hest<TypeX>> {}
class Fisk<TypeY extends Hest> {}
main() {}