aboutsummaryrefslogtreecommitdiff
path: root/core/testdata/format/companionImplements.md
diff options
context:
space:
mode:
authorSimon Ogorodnik <Simon.Ogorodnik@jetbrains.com>2017-11-21 19:46:20 +0300
committerSimon Ogorodnik <Simon.Ogorodnik@jetbrains.com>2017-11-21 19:46:20 +0300
commit454b4a4c8490a04fcfe17309596c6316cd321113 (patch)
tree276b1c554b07208d9e024aff1d233044b3378046 /core/testdata/format/companionImplements.md
parent46af59cc658e4f56b6d2909ab4dc93f43af77dc2 (diff)
downloaddokka-454b4a4c8490a04fcfe17309596c6316cd321113.tar.gz
dokka-454b4a4c8490a04fcfe17309596c6316cd321113.tar.bz2
dokka-454b4a4c8490a04fcfe17309596c6316cd321113.zip
Fix suppressing of companion when it implements some interface
Diffstat (limited to 'core/testdata/format/companionImplements.md')
-rw-r--r--core/testdata/format/companionImplements.md16
1 files changed, 16 insertions, 0 deletions
diff --git a/core/testdata/format/companionImplements.md b/core/testdata/format/companionImplements.md
new file mode 100644
index 00000000..8a93ed6b
--- /dev/null
+++ b/core/testdata/format/companionImplements.md
@@ -0,0 +1,16 @@
+[test](test/index) / [Foo](test/-foo/index)
+
+# Foo
+
+`class Foo`
+
+Correct ref [Foo.Companion](test/-foo/-companion)
+
+### Types
+
+| [Companion](test/-foo/-companion) | `companion object Companion : `[`Bar`](test/-bar) |
+
+### Constructors
+
+| [&lt;init&gt;](test/-foo/-init-) | `Foo()`<br>Correct ref [Foo.Companion](test/-foo/-companion) |
+