aboutsummaryrefslogtreecommitdiff
path: root/test/data/format
diff options
context:
space:
mode:
authorDmitry Jemerov <yole@jetbrains.com>2015-10-28 17:28:38 +0100
committerDmitry Jemerov <yole@jetbrains.com>2015-10-29 11:57:24 +0100
commitd1177b3e3ca5935329c36fb5617861dabbd0cd3a (patch)
treeb60e4e88abcb01e0e8efd9871b81b6fecb3a8198 /test/data/format
parent617401c6742f8c0f7ebe6e3d9839993441761987 (diff)
downloaddokka-d1177b3e3ca5935329c36fb5617861dabbd0cd3a.tar.gz
dokka-d1177b3e3ca5935329c36fb5617861dabbd0cd3a.tar.bz2
dokka-d1177b3e3ca5935329c36fb5617861dabbd0cd3a.zip
show extensions applicable to superclasses in the list of class members
Diffstat (limited to 'test/data/format')
-rw-r--r--test/data/format/inheritedExtensions.kt11
-rw-r--r--test/data/format/inheritedExtensions.md21
2 files changed, 32 insertions, 0 deletions
diff --git a/test/data/format/inheritedExtensions.kt b/test/data/format/inheritedExtensions.kt
new file mode 100644
index 00000000..e38fe00d
--- /dev/null
+++ b/test/data/format/inheritedExtensions.kt
@@ -0,0 +1,11 @@
+open class Foo
+
+class Bar : Foo()
+
+fun Foo.first() {
+
+}
+
+fun Bar.second() {
+
+}
diff --git a/test/data/format/inheritedExtensions.md b/test/data/format/inheritedExtensions.md
new file mode 100644
index 00000000..79137eac
--- /dev/null
+++ b/test/data/format/inheritedExtensions.md
@@ -0,0 +1,21 @@
+[test](test/index) / [Bar](test/-bar/index)
+
+
+# Bar
+
+`class Bar&nbsp;:&nbsp;[Foo](test/-foo/index)`
+
+
+
+### Constructors
+
+
+| [&lt;init&gt;](test/-bar/-init-) | `Bar()` |
+
+
+### Extension Functions
+
+
+| [first](test/first) | `fun [Foo](test/-foo/index).first(): Unit` |
+| [second](test/second) | `fun [Bar](test/-bar/index).second(): Unit` |
+