allow inheriting doc comments from base classes

This commit is contained in:
Dmitry Jemerov
2015-01-20 19:20:59 +01:00
parent 432bdcd0fc
commit 0c2b230e4a
4 changed files with 75 additions and 9 deletions
@@ -0,0 +1,17 @@
open class C() {
/**
* This method returns zero.
*/
open fun foo(): Int = 0
}
class D(): C() {
override fun foo(): Int = 1
}
fun test() {
D().f<caret>oo()
}
// INFO: <b>internal</b> <b>open</b> <b>fun</b> foo(): Int<br/><p>This method returns zero.</p>