aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorIlya Ryzhenkov <orangy@jetbrains.com>2014-07-12 17:48:40 +0400
committerIlya Ryzhenkov <orangy@jetbrains.com>2014-07-12 17:48:40 +0400
commite0acbb5fb51cbeca78bc14aaaddd770d0896d2bb (patch)
tree793292b34c7487f45cb28e0efe7506f805e47779 /test
parenta77f01b4308945e44d05e7e05dc242512e5132eb (diff)
downloaddokka-e0acbb5fb51cbeca78bc14aaaddd770d0896d2bb.tar.gz
dokka-e0acbb5fb51cbeca78bc14aaaddd770d0896d2bb.tar.bz2
dokka-e0acbb5fb51cbeca78bc14aaaddd770d0896d2bb.zip
Add modifiers to signature generation
Diffstat (limited to 'test')
-rw-r--r--test/playground.kt11
1 files changed, 8 insertions, 3 deletions
diff --git a/test/playground.kt b/test/playground.kt
index b401ac63..54cdc958 100644
--- a/test/playground.kt
+++ b/test/playground.kt
@@ -50,7 +50,7 @@ object Object {
/** one line getter doc */
get() = "Member"
- val String.valueWithReceiver: Int
+ public val String.valueWithReceiver: Int
get() = 1
}
@@ -69,7 +69,7 @@ class OuterClass {
}
inner class InnerClass {
- fun innerClassFunction<
+ open fun innerClassFunction<
/** doc for R1 type param */
R1,
/** doc for R2 type param */
@@ -79,7 +79,12 @@ class OuterClass {
}
object NestedObject {
- fun nestedObjectFunction() {
+ protected open fun nestedObjectFunction() {
}
}
+}
+
+trait Interface {
+ fun worker()
+ val extra: String
} \ No newline at end of file