18 lines
417 B
Kotlin
Vendored
18 lines
417 B
Kotlin
Vendored
open class C() {
|
|
/**
|
|
* This property returns zero.
|
|
*/
|
|
open val foo: Int get() = 0
|
|
}
|
|
|
|
class D(): C() {
|
|
override val foo: Int get() = 1
|
|
}
|
|
|
|
|
|
fun test() {
|
|
D().f<caret>oo
|
|
}
|
|
|
|
//INFO: <div class='definition'><pre><a href="psi_element://D"><code>D</code></a><br>public open val <b>foo</b>: Int</pre></div><div class='content'><p>This property returns zero.</p></div><table class='sections'></table>
|