Files
kotlin-fork/compiler/testData/diagnostics/tests/generics/RecursiveUpperBoundCheck.fir.kt
T
Denis.Zharkov b94335dd1c FIR: Update diagnostics test data
Green code correctly became red
2021-05-20 17:24:30 +03:00

4 lines
111 B
Kotlin
Vendored

open class C<T : C<T>>
class TestOK : C<TestOK>()
class TestFail : <!UPPER_BOUND_VIOLATED!>C<C<TestFail>><!>()