mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
KTIJ-22087 https://jetbrains.team/p/ij/reviews/95181 https://jetbrains.team/p/ij/reviews/95344 GitOrigin-RevId: 4026189695e6d3a127c3fd84395c15077369f925
11 lines
223 B
Kotlin
11 lines
223 B
Kotlin
// COMPILER_ARGUMENTS: -XXLanguage:+DataObjects
|
|
// PROBLEM: none
|
|
|
|
open class Base {
|
|
override fun equals(other: Any?): Boolean = other is Foo
|
|
}
|
|
|
|
object<caret> Foo : Base() {
|
|
override fun toString(): String = "Foo"
|
|
}
|