From 994a86700210fe5f26a8bc131815bde2f6269ac5 Mon Sep 17 00:00:00 2001 From: Simon Ogorodnik Date: Thu, 16 Feb 2017 17:50:23 +0300 Subject: KT-16262 Dokka does not render suspending function types properly #KT-16262 fixed --- core/testdata/format/suspendParam.kt | 3 +++ core/testdata/format/suspendParam.md | 5 +++++ core/testdata/format/suspendParam.package.md | 8 ++++++++ 3 files changed, 16 insertions(+) create mode 100644 core/testdata/format/suspendParam.kt create mode 100644 core/testdata/format/suspendParam.md create mode 100644 core/testdata/format/suspendParam.package.md (limited to 'core/testdata') 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 <root> + +### Functions + +| [takesSuspendParam](test/takes-suspend-param) | `fun takesSuspendParam(func: suspend () -> Unit): Unit` | + -- cgit