[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,6 +1,6 @@
// !CHECK_TYPE
infix fun Int.compareTo(<!UNUSED_PARAMETER!>o<!>: Int) = 0
infix fun Int.compareTo(o: Int) = 0
fun foo(a: Number): Int {
val result = (a as Int) compareTo <!DEBUG_INFO_SMARTCAST!>a<!>
@@ -12,4 +12,4 @@ fun bar(a: Number): Int {
val result = 42 compareTo (a as Int)
checkSubtype<Int>(<!DEBUG_INFO_SMARTCAST!>a<!>)
return result
}
}