diff options
author | Ilya Ryzhenkov <orangy@jetbrains.com> | 2014-07-12 17:38:16 +0400 |
---|---|---|
committer | Ilya Ryzhenkov <orangy@jetbrains.com> | 2014-07-12 17:38:16 +0400 |
commit | a77f01b4308945e44d05e7e05dc242512e5132eb (patch) | |
tree | fdb131cfb0005844df95b0765285e5cbdc1ca614 /test/playground.kt | |
parent | 1da7b0d28cc101c58e58b4ba00a7ed5890df34f5 (diff) | |
download | dokka-a77f01b4308945e44d05e7e05dc242512e5132eb.tar.gz dokka-a77f01b4308945e44d05e7e05dc242512e5132eb.tar.bz2 dokka-a77f01b4308945e44d05e7e05dc242512e5132eb.zip |
Process Modality (final, open, abstract) and Visibility (public, protected, internal, private)
Diffstat (limited to 'test/playground.kt')
-rw-r--r-- | test/playground.kt | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/test/playground.kt b/test/playground.kt index ca503791..b401ac63 100644 --- a/test/playground.kt +++ b/test/playground.kt @@ -50,6 +50,9 @@ object Object { /** one line getter doc */ get() = "Member" + val String.valueWithReceiver: Int + get() = 1 + } class OuterClass { @@ -60,6 +63,9 @@ class OuterClass { class NestedClass<T> { fun nestedClassFunction(item: T) { } + + fun String.functionWithReceiver(): Int = 1 + } inner class InnerClass { @@ -67,7 +73,7 @@ class OuterClass { /** doc for R1 type param */ R1, /** doc for R2 type param */ - R2, + R2 >() { } } |