[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
+3 -3
View File
@@ -4,7 +4,7 @@
package a
fun foo() {
val <!UNUSED_VARIABLE!>b<!> : <!UNRESOLVED_REFERENCE!>B<!> = <!UNRESOLVED_REFERENCE!>B<!>() //only B() is unresolved, but in ": B" and "B.foo()" B should also be unresolved
val b : <!UNRESOLVED_REFERENCE!>B<!> = <!UNRESOLVED_REFERENCE!>B<!>() //only B() is unresolved, but in ": B" and "B.foo()" B should also be unresolved
<!UNRESOLVED_REFERENCE!>B<!>.<!DEBUG_INFO_MISSING_UNRESOLVED!>foo<!>()
<!UNRESOLVED_REFERENCE!>P<!>.<!DEBUG_INFO_MISSING_UNRESOLVED!>foo<!>()
@@ -40,7 +40,7 @@ import b.A.Companion.P
import b.A.Companion.B
fun foo() {
val <!UNUSED_VARIABLE!>b<!> : B = B()
val b : B = B()
B.foo()
P.foo()
@@ -66,4 +66,4 @@ object N {
object M {
fun bar() {}
}
}
}