aboutsummaryrefslogtreecommitdiff
path: root/core/testdata
diff options
context:
space:
mode:
authorKamil Doległo <kamilok1965@interia.pl>2019-04-30 11:56:54 +0200
committerKamil Doległo <kamilok1965@interia.pl>2019-04-30 11:56:54 +0200
commitfef60431fdbc9a59a537bdb83f180383b8fd9678 (patch)
treec6e473af00810e18d1f99f5213617a4d3fdf6586 /core/testdata
parentbc83950d6a147111eba061031eb02e1649ba9fdd (diff)
downloaddokka-fef60431fdbc9a59a537bdb83f180383b8fd9678.tar.gz
dokka-fef60431fdbc9a59a537bdb83f180383b8fd9678.tar.bz2
dokka-fef60431fdbc9a59a537bdb83f180383b8fd9678.zip
Fix suspend inline function test
Diffstat (limited to 'core/testdata')
-rw-r--r--core/testdata/format/inlineSuspendFunction.kt2
-rw-r--r--core/testdata/format/inlineSuspendFunction.md2
2 files changed, 2 insertions, 2 deletions
diff --git a/core/testdata/format/inlineSuspendFunction.kt b/core/testdata/format/inlineSuspendFunction.kt
index f2009eff..02b3094b 100644
--- a/core/testdata/format/inlineSuspendFunction.kt
+++ b/core/testdata/format/inlineSuspendFunction.kt
@@ -1,6 +1,6 @@
/**
* returns 1
*/
-inline suspend fun foo(): Int {
+inline suspend fun foo(a: () -> String): Int {
1
}
diff --git a/core/testdata/format/inlineSuspendFunction.md b/core/testdata/format/inlineSuspendFunction.md
index 3bf196b6..e109039c 100644
--- a/core/testdata/format/inlineSuspendFunction.md
+++ b/core/testdata/format/inlineSuspendFunction.md
@@ -2,7 +2,7 @@
# foo
-`suspend inline fun foo(): Int`
+`suspend inline fun foo(a: () -> String): Int`
returns 1