Files
kotlin-fork/idea/testData/editor/quickDoc/OnInheritedPropertyUsage.kt
T
2015-04-21 15:36:37 +02:00

19 lines
319 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: <b>internal</b> <b>open</b> <b>val</b> foo: Int <i>defined in</i> D<br/><p>This property returns zero.
//INFO: </p>