blob: 94a15d4b17dadd5eb2b98c0108d5857470720714 [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
class A<X extends C> {}
// ^
// [analyzer] COMPILE_TIME_ERROR.NOT_INSTANTIATED_BOUND
class C<X extends C> {}
// ^
// [cfe] Generic type 'C' can't be used without type arguments in the bounds of its own type variables.
// ^
// [analyzer] COMPILE_TIME_ERROR.NOT_INSTANTIATED_BOUND
main() {}