[Test] Explicitly enable UNUSED_* diagnostics in tests which are not belong to contolFlowAnalysis suite
This commit is contained in:
committed by
TeamCityServer
parent
a9ff030c73
commit
85949b387e
+2
@@ -1,3 +1,5 @@
|
||||
// !DIAGNOSICS: +UNUSED_EXPRESSION
|
||||
|
||||
fun unusedExpression(s: String) {
|
||||
s::hashCode
|
||||
s::class
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
// !DIAGNOSICS: +UNUSED_EXPRESSION
|
||||
|
||||
fun unusedExpression(s: String) {
|
||||
<!UNUSED_EXPRESSION!>s::hashCode<!>
|
||||
<!UNUSED_EXPRESSION!>s::class<!>
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
// !DIAGNOSICS: +UNUSED_EXPRESSION
|
||||
fun foo() {
|
||||
|
||||
}
|
||||
@@ -20,4 +21,4 @@ fun test() {
|
||||
A::B
|
||||
A::foo
|
||||
A::bar
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
// !DIAGNOSICS: +UNUSED_EXPRESSION
|
||||
fun foo() {
|
||||
|
||||
}
|
||||
@@ -20,4 +21,4 @@ fun test() {
|
||||
<!UNUSED_EXPRESSION!>A::B<!>
|
||||
<!UNUSED_EXPRESSION!>A::foo<!>
|
||||
<!UNUSED_EXPRESSION!>A::bar<!>
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user