aboutsummaryrefslogtreecommitdiff
path: root/test/data/format
diff options
context:
space:
mode:
authorDmitry Jemerov <yole@jetbrains.com>2015-02-26 16:56:16 +0100
committerDmitry Jemerov <yole@jetbrains.com>2015-02-26 16:56:16 +0100
commitf8704c63e7ba267beb9370bc22ff96dde75b0f9f (patch)
tree19a6a5ae441a32b8be3140e778ea71443908aa4c /test/data/format
parent9829559af837927b25c8dcc207e58806fab7832f (diff)
downloaddokka-f8704c63e7ba267beb9370bc22ff96dde75b0f9f.tar.gz
dokka-f8704c63e7ba267beb9370bc22ff96dde75b0f9f.tar.bz2
dokka-f8704c63e7ba267beb9370bc22ff96dde75b0f9f.zip
variance modifiers for type parameters are separate modifier nodes, not part of the type name
Diffstat (limited to 'test/data/format')
-rw-r--r--test/data/format/typeParameterVariance.kt2
-rw-r--r--test/data/format/typeParameterVariance.md14
2 files changed, 16 insertions, 0 deletions
diff --git a/test/data/format/typeParameterVariance.kt b/test/data/format/typeParameterVariance.kt
new file mode 100644
index 00000000..28b29f4b
--- /dev/null
+++ b/test/data/format/typeParameterVariance.kt
@@ -0,0 +1,2 @@
+class Foo<out T> {
+}
diff --git a/test/data/format/typeParameterVariance.md b/test/data/format/typeParameterVariance.md
new file mode 100644
index 00000000..a46929ce
--- /dev/null
+++ b/test/data/format/typeParameterVariance.md
@@ -0,0 +1,14 @@
+[test](test/index) / [Foo](test/-foo/index)
+
+
+# Foo
+
+`class Foo&lt;out&nbsp;T&gt; `
+
+
+
+### Constructors
+
+
+| [&lt;init&gt;](test/-foo/-init-) | `public Foo()` |
+