[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,3 +0,0 @@
fun test(a: Any) {
when (a)<!SYNTAX!><!>
}
@@ -1,3 +1,4 @@
// FIR_IDENTICAL
fun test(a: Any) {
when (<!UNUSED_EXPRESSION!>a<!>)<!SYNTAX!><!>
}
when (a)<!SYNTAX!><!>
}
@@ -1,11 +1,10 @@
// !WITH_NEW_INFERENCE
package b
fun <T, R> foo(<!UNUSED_PARAMETER!>map<!>: Map<T, R>) : R = throw Exception()
fun <T, R> foo(map: Map<T, R>) : R = throw Exception()
fun <F, G> getMap() : Map<F, G> = throw Exception()
fun bar123() {
<!NEW_INFERENCE_NO_INFORMATION_FOR_PARAMETER{NI}, TYPE_INFERENCE_NO_INFORMATION_FOR_PARAMETER{OI}!>foo<!>(<!NEW_INFERENCE_NO_INFORMATION_FOR_PARAMETER{NI}, TYPE_INFERENCE_NO_INFORMATION_FOR_PARAMETER{OI}!>getMap<!>(
<!SYNTAX!><!>}