private / internal / protected are forbidden in annotations
This commit is contained in:
committed by
Mikhail Glukhikh
parent
cba6870f52
commit
c07f0e9602
@@ -0,0 +1,6 @@
|
||||
annotation class My(
|
||||
public val x: Int,
|
||||
<!WRONG_MODIFIER_CONTAINING_DECLARATION!>protected<!> val y: Int,
|
||||
<!WRONG_MODIFIER_CONTAINING_DECLARATION!>internal<!> val z: Int,
|
||||
<!WRONG_MODIFIER_CONTAINING_DECLARATION!>private<!> val w: Int
|
||||
)
|
||||
Reference in New Issue
Block a user