[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
Vendored
+2
-2
@@ -2,10 +2,10 @@
|
||||
|
||||
class DTO {
|
||||
val q: Int = 0
|
||||
operator fun get(<!UNUSED_PARAMETER!>prop<!>: <!UNRESOLVED_REFERENCE!>KProperty1<!><*, Int>): Int = 0
|
||||
operator fun get(prop: <!UNRESOLVED_REFERENCE!>KProperty1<!><*, Int>): Int = 0
|
||||
}
|
||||
|
||||
fun foo(intDTO: DTO?, <!UNUSED_PARAMETER!>p<!>: <!UNRESOLVED_REFERENCE!>KProperty1<!><*, Int>) {
|
||||
fun foo(intDTO: DTO?, p: <!UNRESOLVED_REFERENCE!>KProperty1<!><*, Int>) {
|
||||
if (intDTO != null) {
|
||||
<!DEBUG_INFO_SMARTCAST!>intDTO<!>[DTO::q]
|
||||
<!DEBUG_INFO_SMARTCAST!>intDTO<!>.q
|
||||
|
||||
Reference in New Issue
Block a user