[Test] Disable UNUSED_* diagnostics in tests which are not belong to contolFlowAnalysis suite

This commit is contained in:
Dmitriy Novozhilov
2021-03-29 12:14:16 +03:00
committed by TeamCityServer
parent 85949b387e
commit cd890d5833
758 changed files with 1832 additions and 3745 deletions
@@ -2,9 +2,9 @@
// !CHECK_TYPE
class In<in T>() {
fun f(<!UNUSED_PARAMETER!>t<!> : T) : Unit {}
fun f(<!UNUSED_PARAMETER!>t<!> : Int) : Int = 1
fun f1(<!UNUSED_PARAMETER!>t<!> : T) : Unit {}
fun f(t : T) : Unit {}
fun f(t : Int) : Int = 1
fun f1(t : T) : Unit {}
}
class Out<out T>() {
@@ -14,7 +14,7 @@ class Out<out T>() {
class Inv<T>() {
fun f(t : T) : T = t
fun inf(<!UNUSED_PARAMETER!>t<!> : T) : Unit {}
fun inf(t : T) : Unit {}
fun outf() : T {throw IllegalStateException()}
}