[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,12 +4,12 @@ package a
|
||||
class A {}
|
||||
|
||||
fun test(a1: A, a2: A) {
|
||||
val <!UNUSED_VARIABLE!>range<!> = "island".."isle"
|
||||
val range = "island".."isle"
|
||||
|
||||
a1<!UNRESOLVED_REFERENCE_WRONG_RECEIVER!>..<!>a2
|
||||
}
|
||||
|
||||
|
||||
public operator fun <T: Comparable<T>> T.rangeTo(<!UNUSED_PARAMETER!>that<!>: T): ClosedRange<T> {
|
||||
public operator fun <T: Comparable<T>> T.rangeTo(that: T): ClosedRange<T> {
|
||||
throw UnsupportedOperationException()
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user