aboutsummaryrefslogtreecommitdiff
path: root/test/data/functions/functionWithAnnotatedParam.kt
diff options
context:
space:
mode:
authorDmitry Jemerov <yole@jetbrains.com>2015-09-09 14:54:19 +0200
committerDmitry Jemerov <yole@jetbrains.com>2015-09-09 14:54:19 +0200
commit1e862f2fc05c9d01d4d9c00de5d1a4235ff85a9d (patch)
tree147d9f03651404de595b81090767cefe38d9778b /test/data/functions/functionWithAnnotatedParam.kt
parent60c915a9d35d8026bd2fc1a193b97b89cbf29621 (diff)
downloaddokka-1e862f2fc05c9d01d4d9c00de5d1a4235ff85a9d.tar.gz
dokka-1e862f2fc05c9d01d4d9c00de5d1a4235ff85a9d.tar.bz2
dokka-1e862f2fc05c9d01d4d9c00de5d1a4235ff85a9d.zip
render annotations with @; render only @MustBeDocumented annotations; render all modifiers
Diffstat (limited to 'test/data/functions/functionWithAnnotatedParam.kt')
-rw-r--r--test/data/functions/functionWithAnnotatedParam.kt7
1 files changed, 6 insertions, 1 deletions
diff --git a/test/data/functions/functionWithAnnotatedParam.kt b/test/data/functions/functionWithAnnotatedParam.kt
index 640bec83..f858e671 100644
--- a/test/data/functions/functionWithAnnotatedParam.kt
+++ b/test/data/functions/functionWithAnnotatedParam.kt
@@ -1,2 +1,7 @@
-fun function(noinline notInlined: () -> Unit) {
+@Target(AnnotationTarget.VALUE_PARAMETER)
+@Retention(AnnotationRetention.SOURCE)
+@MustBeDocumented
+public annotation class Fancy
+
+fun function(@Fancy notInlined: () -> Unit) {
}