[Test] Disable UNUSED_* diagnostics in tests which are not belong to contolFlowAnalysis suite
This commit is contained in:
committed by
TeamCityServer
parent
85949b387e
commit
cd890d5833
@@ -2,8 +2,8 @@ class Inv<T>
|
||||
|
||||
inline operator fun <reified T> Inv<T>.invoke() {}
|
||||
|
||||
operator fun <K> Inv<K>.get(<!UNUSED_PARAMETER!>i<!>: Int): Inv<K> = this
|
||||
operator fun <K> Inv<K>.get(i: Int): Inv<K> = this
|
||||
|
||||
fun <K> test(a: Inv<K>) {
|
||||
<!TYPE_PARAMETER_AS_REIFIED!>a[1]()<!>
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user