aboutsummaryrefslogtreecommitdiff
path: root/core/testdata
diff options
context:
space:
mode:
authorSimon Ogorodnik <Simon.Ogorodnik@jetbrains.com>2017-02-16 17:50:23 +0300
committerSimon Ogorodnik <Simon.Ogorodnik@jetbrains.com>2017-02-16 17:50:23 +0300
commit994a86700210fe5f26a8bc131815bde2f6269ac5 (patch)
tree0a58b950b24288d2b1692aaf9136ec1f0433944c /core/testdata
parentdcb948ea12a7ef3c2515dc621d648baf4c6806d9 (diff)
downloaddokka-994a86700210fe5f26a8bc131815bde2f6269ac5.tar.gz
dokka-994a86700210fe5f26a8bc131815bde2f6269ac5.tar.bz2
dokka-994a86700210fe5f26a8bc131815bde2f6269ac5.zip
KT-16262 Dokka does not render suspending function types properly
#KT-16262 fixed
Diffstat (limited to 'core/testdata')
-rw-r--r--core/testdata/format/suspendParam.kt3
-rw-r--r--core/testdata/format/suspendParam.md5
-rw-r--r--core/testdata/format/suspendParam.package.md8
3 files changed, 16 insertions, 0 deletions
diff --git a/core/testdata/format/suspendParam.kt b/core/testdata/format/suspendParam.kt
new file mode 100644
index 00000000..ea3f56f9
--- /dev/null
+++ b/core/testdata/format/suspendParam.kt
@@ -0,0 +1,3 @@
+fun takesSuspendParam(func: suspend () -> Unit) {
+
+} \ No newline at end of file
diff --git a/core/testdata/format/suspendParam.md b/core/testdata/format/suspendParam.md
new file mode 100644
index 00000000..cf11f57b
--- /dev/null
+++ b/core/testdata/format/suspendParam.md
@@ -0,0 +1,5 @@
+[test](test/index) / [takesSuspendParam](test/takes-suspend-param)
+
+# takesSuspendParam
+
+`fun takesSuspendParam(func: suspend () -> Unit): Unit` \ No newline at end of file
diff --git a/core/testdata/format/suspendParam.package.md b/core/testdata/format/suspendParam.package.md
new file mode 100644
index 00000000..463ba356
--- /dev/null
+++ b/core/testdata/format/suspendParam.package.md
@@ -0,0 +1,8 @@
+[test](test/index)
+
+## Package &lt;root&gt;
+
+### Functions
+
+| [takesSuspendParam](test/takes-suspend-param) | `fun takesSuspendParam(func: suspend () -> Unit): Unit` |
+