[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
@@ -14,7 +14,7 @@ fun foo(a: Any?): Int {
|
||||
|
||||
var <!ASSIGNED_BUT_NEVER_ACCESSED_VARIABLE!>b<!> = 1
|
||||
|
||||
<!UNUSED_VALUE!>(<!SYNTAX!>@<!> b) =<!> 2
|
||||
(<!SYNTAX!>@<!> b) = 2
|
||||
|
||||
return<!SYNTAX!>@<!> 1
|
||||
}
|
||||
@@ -33,4 +33,4 @@ class B : A() {
|
||||
fun bar(f: () -> Unit) = f
|
||||
fun test() {
|
||||
bar <!SYNTAX!>@<!>{}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user