[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
@@ -39,13 +39,13 @@ fun test4() {
null
}
finally {
<!UNUSED_EXPRESSION!>""<!>
""
}
s<!UNSAFE_CALL!>.<!>length
}
fun test5() {
<!UNREACHABLE_CODE!>val <!UNUSED_VARIABLE!>s<!>: String? =<!> try {
<!UNREACHABLE_CODE!>val s: String? =<!> try {
""
}
catch (e: ExcA) {
@@ -105,7 +105,7 @@ fun test10() {
val x = try {
""
} finally {
<!UNUSED_EXPRESSION!>42<!>
42
}
x.length
}