[FIR] Add CYCLIC_GENERIC_UPPER_BOUND check

This commit is contained in:
Andrey Zinovyev
2021-04-12 18:53:09 +03:00
committed by TeamCityServer
parent 03215f4e0a
commit 2b8c22c08a
27 changed files with 144 additions and 35 deletions
@@ -7,7 +7,7 @@ interface Foo<F> {
fun <S> select(vararg args: S): S = TODO()
class Bar<B : B> : Foo<B> {
class Bar<B : <!CYCLIC_GENERIC_UPPER_BOUND!>B<!>> : Foo<B> {
val v = <!DEBUG_INFO_EXPRESSION_TYPE("kotlin.Any?")!>select(
getSum(),
42