[FIR] Add CYCLIC_GENERIC_UPPER_BOUND check
This commit is contained in:
committed by
TeamCityServer
parent
03215f4e0a
commit
2b8c22c08a
@@ -2,7 +2,7 @@
|
||||
// !LANGUAGE: +NewInference
|
||||
// !DIAGNOSTICS: -UNUSED_PARAMETER
|
||||
|
||||
class Base<T : T> : HashSet<T>() {
|
||||
class Base<T : <!CYCLIC_GENERIC_UPPER_BOUND!>T<!>> : HashSet<T>() {
|
||||
fun foo() {
|
||||
super.remove(<!ARGUMENT_TYPE_MISMATCH!>""<!>)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user