[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
@@ -1,12 +1,13 @@
// FIR_IDENTICAL
package n
//+JDK
import java.util.*
fun <T> expected(t: T, <!UNUSED_PARAMETER!>f<!>: () -> T) : T = t
fun <T> expected(t: T, f: () -> T) : T = t
fun test(arrayList: ArrayList<Int>, list: List<Int>) {
val <!UNUSED_VARIABLE!>t<!> = expected(arrayList, { list.reverse() })
val t = expected(arrayList, { list.reverse() })
}
fun <T> List<T>.reverse() : List<T> = this
fun <T> List<T>.reverse() : List<T> = this