diff options
author | Dmitry Jemerov <intelliyole@gmail.com> | 2015-01-14 14:01:20 +0100 |
---|---|---|
committer | Dmitry Jemerov <intelliyole@gmail.com> | 2015-01-14 14:01:20 +0100 |
commit | 60e610ebdd86663bedf113d2235ac3c8364171d0 (patch) | |
tree | 0804f2730bd7da28cfb063f1b00fb4cc1773c4f9 /test/data | |
parent | cd21e1fea43c0b7fa8013e3db7f49fe2b600b7f8 (diff) | |
parent | 0dd5ea3c1492b15bd386ec5c2c8d6e467a8f72a9 (diff) | |
download | dokka-60e610ebdd86663bedf113d2235ac3c8364171d0.tar.gz dokka-60e610ebdd86663bedf113d2235ac3c8364171d0.tar.bz2 dokka-60e610ebdd86663bedf113d2235ac3c8364171d0.zip |
Merge pull request #14 from orangy/override-link
link overriding functions to the corresponding base class functions
Diffstat (limited to 'test/data')
-rw-r--r-- | test/data/classes/indirectOverride.kt | 9 | ||||
-rw-r--r-- | test/data/format/overridingFunction.kt | 7 | ||||
-rw-r--r-- | test/data/format/overridingFunction.md | 13 |
3 files changed, 29 insertions, 0 deletions
diff --git a/test/data/classes/indirectOverride.kt b/test/data/classes/indirectOverride.kt new file mode 100644 index 00000000..8d091b80 --- /dev/null +++ b/test/data/classes/indirectOverride.kt @@ -0,0 +1,9 @@ +abstract class C() { + abstract fun foo() +} + +abstract class D(): C() + +class E(): D() { + override fun foo() {} +} diff --git a/test/data/format/overridingFunction.kt b/test/data/format/overridingFunction.kt new file mode 100644 index 00000000..d7329489 --- /dev/null +++ b/test/data/format/overridingFunction.kt @@ -0,0 +1,7 @@ +open class C() { + open fun f() {} +} + +class D(): C() { + override fun f() {} +} diff --git a/test/data/format/overridingFunction.md b/test/data/format/overridingFunction.md new file mode 100644 index 00000000..b53b3e13 --- /dev/null +++ b/test/data/format/overridingFunction.md @@ -0,0 +1,13 @@ +[test](out.md) / [](out.md) / [D](out.md) / [f](out.md) + + +# f + + +``` +fun f(): Unit +``` + +Overrides [C.f](out.md) + + |