Fix visibility of $annotations methods

This commit is contained in:
Pavel Mikhailovskii
2023-06-12 12:59:53 +00:00
committed by Space Team
parent b4004763cc
commit 46844100d5
5 changed files with 57 additions and 3 deletions
@@ -29,4 +29,12 @@ val <T: Any> @receiver:Anno("receiver") List<T>.extensionProperty: Int
val nullable: String? = null
@Anno("nonNullable")
val nonNullable: String = ""
val nonNullable: String = ""
open class O {
@Anno("private")
private val privateProperty: Int get() = 1
@Anno("protected")
protected val protectedProperty = 1
}