[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
@@ -1,20 +1,21 @@
|
||||
// FIR_IDENTICAL
|
||||
interface Trait {
|
||||
fun bar() = 42
|
||||
}
|
||||
|
||||
class Outer : Trait {
|
||||
fun foo() {
|
||||
val <!UNUSED_VARIABLE!>t<!> = this@Outer
|
||||
val <!UNUSED_VARIABLE!>s<!> = super@Outer.bar()
|
||||
|
||||
val t = this@Outer
|
||||
val s = super@Outer.bar()
|
||||
|
||||
class Local : Trait {
|
||||
val t = this@Outer
|
||||
val s = super@Outer.bar()
|
||||
|
||||
|
||||
inner class Inner {
|
||||
val t = this@Local
|
||||
val s = super@Local.bar()
|
||||
|
||||
|
||||
val tt = this@Outer
|
||||
val ss = super@Outer.bar()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user