8540f47c15
#KT-40788 Fixed #KT-24616 Fixed back-port from kotlin-ide commit aa5580bb5a7e96b209cdaa1c82f4e485ee001ae8
17 lines
264 B
Kotlin
Vendored
17 lines
264 B
Kotlin
Vendored
// PSI_ELEMENT: org.jetbrains.kotlin.psi.KtClass
|
|
// OPTIONS: derivedClasses
|
|
fun foo() {
|
|
open class <caret>A
|
|
|
|
val b = object: A() {}
|
|
|
|
interface T: A
|
|
|
|
fun bar() {
|
|
val c = object: A() {}
|
|
|
|
val d = object: T {}
|
|
}
|
|
}
|
|
|
|
// DISABLE-ERRORS |