Fix retrieving documentation for overridden methods.

(The test doesn't actually reproduce the problem because it can't be done in a single-file setup, but it verifies that the basic functionality continues to work.)
This commit is contained in:
Dmitry Jemerov
2015-02-27 20:10:37 +01:00
parent cec1b94664
commit 1684248e97
3 changed files with 25 additions and 5 deletions
+10
View File
@@ -0,0 +1,10 @@
open class Foo() {
/**
* Doc for method xyzzy
*/
open fun xyzzy(): Int = 0
}
open class Bar(): Foo() {
override fun xyzzy(): Int = 1
}