[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
@@ -18,8 +18,8 @@ fun main() {
|
||||
fun foo() {
|
||||
val x : Int? = 3
|
||||
if (x != null) {
|
||||
val <!UNUSED_VARIABLE!>u<!> = checkSubtype<Int>(x<!UNNECESSARY_NOT_NULL_ASSERTION!>!!<!>)
|
||||
val u = checkSubtype<Int>(x<!UNNECESSARY_NOT_NULL_ASSERTION!>!!<!>)
|
||||
val y = checkSubtype<Int>(<!DEBUG_INFO_SMARTCAST!>x<!>)
|
||||
val <!UNUSED_VARIABLE!>z<!> : Int = y
|
||||
val z : Int = y
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user