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
|
||||
)
|
||||
@@ -0,0 +1,12 @@
|
||||
package
|
||||
|
||||
@kotlin.annotation.annotation() public final class My : kotlin.Annotation {
|
||||
public constructor My(/*0*/ x: kotlin.Int, /*1*/ y: kotlin.Int, /*2*/ z: kotlin.Int, /*3*/ w: kotlin.Int)
|
||||
private final val w: kotlin.Int
|
||||
public final val x: kotlin.Int
|
||||
protected final val y: kotlin.Int
|
||||
internal final val z: kotlin.Int
|
||||
public open override /*1*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean
|
||||
public open override /*1*/ /*fake_override*/ fun hashCode(): kotlin.Int
|
||||
public open override /*1*/ /*fake_override*/ fun toString(): kotlin.String
|
||||
}
|
||||
Reference in New Issue
Block a user