[Test] Disable UNUSED_* diagnostics in tests which are not belong to contolFlowAnalysis suite
This commit is contained in:
committed by
TeamCityServer
parent
85949b387e
commit
cd890d5833
+3
-3
@@ -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() {}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user