Dont show warning for KT-21515 with LV>=1.3
This commit is contained in:
Vendored
+3
-3
@@ -4,7 +4,7 @@
|
||||
interface SomeIrrelevantInterface
|
||||
|
||||
// note that C.Base() supertype will be resolved in normal scope
|
||||
abstract class <!CYCLIC_SCOPES_WITH_COMPANION!>DerivedAbstract<!> : C.Base()
|
||||
abstract class DerivedAbstract : C.Base()
|
||||
|
||||
class Data
|
||||
|
||||
@@ -14,7 +14,7 @@ public class C {
|
||||
|
||||
// Note that any supertype of Base will be resolved in error-scope, even if it absolutely irrelevant
|
||||
// to the types in cycle.
|
||||
open class <!CYCLIC_SCOPES_WITH_COMPANION!>Base<!>() : SomeIrrelevantInterface
|
||||
open class Base() : SomeIrrelevantInterface
|
||||
|
||||
companion <!CYCLIC_SCOPES_WITH_COMPANION!>object<!> : DerivedAbstract()
|
||||
companion object : DerivedAbstract()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user