Restrict retention for annotations with target EXPRESSION
#KT-13762 Fixed
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
@Target(AnnotationTarget.EXPRESSION)
|
||||
@Retention(AnnotationRetention.SOURCE)
|
||||
annotation class foo
|
||||
|
||||
fun f(s : String?) : Boolean {
|
||||
|
||||
@@ -2,7 +2,7 @@ package
|
||||
|
||||
public fun f(/*0*/ s: kotlin.String?): kotlin.Boolean
|
||||
|
||||
@kotlin.annotation.Target(allowedTargets = {AnnotationTarget.EXPRESSION}) public final annotation class foo : kotlin.Annotation {
|
||||
@kotlin.annotation.Target(allowedTargets = {AnnotationTarget.EXPRESSION}) @kotlin.annotation.Retention(value = AnnotationRetention.SOURCE) public final annotation class foo : kotlin.Annotation {
|
||||
public constructor foo()
|
||||
public open override /*1*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean
|
||||
public open override /*1*/ /*fake_override*/ fun hashCode(): kotlin.Int
|
||||
|
||||
Reference in New Issue
Block a user