diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/playground.kt | 11 |
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 |