inherit documentation for properties as well as functions

This commit is contained in:
Dmitry Jemerov
2015-02-05 17:20:11 +01:00
parent 478118c12a
commit cc5edc332d
3 changed files with 25 additions and 3 deletions
@@ -0,0 +1,17 @@
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<br/><p>This property returns zero.</p>