[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
+4 -4
View File
@@ -2,7 +2,7 @@
inline fun call(a: A) {
a.test()
publishedTopLevel()
a.publishedVar
a.publishedVar = 1
@@ -23,7 +23,7 @@ inline var inlineVar: Int
publishedVarTopLevel = 1
return 1
}
set(<!UNUSED_PARAMETER!>value<!>) {
set(value) {
val a = A()
a.test()
publishedTopLevel()
@@ -88,7 +88,7 @@ internal class A {
return 1
}
set(<!UNUSED_PARAMETER!>value<!>) {
set(value) {
publicFun()
<!NON_PUBLIC_CALL_FROM_PUBLIC_INLINE!>internalFun<!>()
<!NON_PUBLIC_CALL_FROM_PUBLIC_INLINE!>privateFun<!>()
@@ -147,7 +147,7 @@ inline internal var publishedVarTopLevel: Int
return 1
}
set(<!UNUSED_PARAMETER!>value<!>) {
set(value) {
publicFun()
<!NON_PUBLIC_CALL_FROM_PUBLIC_INLINE!>internalFun<!>()
<!NON_PUBLIC_CALL_FROM_PUBLIC_INLINE!>privateFun<!>()