[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
+6 -6
View File
@@ -22,8 +22,8 @@ inline fun inlineFunWithInvoke(s: (p: Int) -> Unit, ext: Int.(p: Int) -> Unit) {
11.ext(11)
11 <!INFIX_MODIFIER_REQUIRED!>ext<!> 11
<!UNUSED_EXPRESSION, USAGE_IS_NOT_INLINABLE!>s<!>
<!UNUSED_EXPRESSION, USAGE_IS_NOT_INLINABLE!>ext<!>
<!USAGE_IS_NOT_INLINABLE!>s<!>
<!USAGE_IS_NOT_INLINABLE!>ext<!>
11
}
}
@@ -37,8 +37,8 @@ inline fun inlineFunWithInvokeNonInline(noinline s: (p: Int) -> Unit, ext: Int.(
11.ext(11)
11 <!INFIX_MODIFIER_REQUIRED!>ext<!> 11
<!UNUSED_EXPRESSION!>s<!>
<!UNUSED_EXPRESSION, USAGE_IS_NOT_INLINABLE!>ext<!>
s
<!USAGE_IS_NOT_INLINABLE!>ext<!>
11
}
@@ -51,8 +51,8 @@ inline fun inlineFunWithInvokeNonInline(noinline s: (p: Int) -> Unit, ext: Int.(
this <!INFIX_MODIFIER_REQUIRED!>invoke<!> 11
this(11)
<!UNUSED_EXPRESSION!>this<!>
this
11
}
}
}