Dont show warning for KT-21515 with LV>=1.3

This commit is contained in:
Dmitry Savvinov
2020-09-15 14:01:17 +03:00
parent 57ceb0fa20
commit 6a55475392
9 changed files with 41 additions and 32 deletions
@@ -2,14 +2,14 @@
// see https://youtrack.jetbrains.com/issue/KT-21515
open class Container {
open class <!CYCLIC_SCOPES_WITH_COMPANION!>Base<!> {
open class Base {
open fun m() {}
}
// note that Base() supertype will be resolved in scope that was created on recursion
abstract class <!CYCLIC_SCOPES_WITH_COMPANION!>DerivedAbstract<!> : Base()
abstract class DerivedAbstract : Base()
companion <!CYCLIC_SCOPES_WITH_COMPANION!>object<!> : DerivedAbstract() {
companion object : DerivedAbstract() {
override fun m() {}
}
}