From e0acbb5fb51cbeca78bc14aaaddd770d0896d2bb Mon Sep 17 00:00:00 2001 From: Ilya Ryzhenkov Date: Sat, 12 Jul 2014 17:48:40 +0400 Subject: Add modifiers to signature generation --- test/playground.kt | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) (limited to 'test') 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 -- cgit