mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-12 00:21:32 +00:00
In particular, support line markers for expect-class members and navigation to expect-class members from corresponding base members
23 lines
456 B
Kotlin
Vendored
23 lines
456 B
Kotlin
Vendored
// !CHECK_HIGHLIGHTING
|
|
|
|
package test
|
|
|
|
open class SimpleParent {
|
|
open fun foo(n: Int) {}
|
|
open val bar: Int get() = 1
|
|
}
|
|
|
|
expect open class ExpectedChild : SimpleParent {
|
|
override fun foo(n: Int)
|
|
override val bar: Int
|
|
}
|
|
|
|
class ExpectedChildChild : ExpectedChild() {
|
|
override fun foo(n: Int) {}
|
|
override val bar: Int get() = 1
|
|
}
|
|
|
|
class SimpleChild : SimpleParent() {
|
|
override fun foo(n: Int) {}
|
|
override val bar: Int get() = 1
|
|
} |