Update testData for restricted expression annotations retention
This commit is contained in:
@@ -3,6 +3,7 @@ annotation class Ann
|
||||
@Ann open class My
|
||||
|
||||
@Target(AnnotationTarget.EXPRESSION)
|
||||
@Retention(AnnotationRetention.SOURCE)
|
||||
annotation class AnnExpr
|
||||
|
||||
fun foo() {
|
||||
|
||||
@@ -3,6 +3,7 @@
|
||||
public annotation class Ann
|
||||
|
||||
@kotlin.annotation.Target
|
||||
@kotlin.annotation.Retention
|
||||
@java.lang.annotation.Retention
|
||||
@java.lang.annotation.Target
|
||||
@kotlin.Metadata
|
||||
|
||||
@@ -5,6 +5,7 @@ annotation class ClsAnn
|
||||
annotation class FunAnn
|
||||
|
||||
@Target(AnnotationTarget.EXPRESSION)
|
||||
@Retention(AnnotationRetention.SOURCE)
|
||||
annotation class ExprAnn
|
||||
|
||||
fun bar(arg: () -> Int) = arg()
|
||||
|
||||
@@ -5,6 +5,7 @@
|
||||
public annotation class ClsAnn
|
||||
|
||||
@kotlin.annotation.Target
|
||||
@kotlin.annotation.Retention
|
||||
@java.lang.annotation.Retention
|
||||
@java.lang.annotation.Target
|
||||
@kotlin.Metadata
|
||||
@@ -63,4 +64,4 @@ public final class LiteralsKt {
|
||||
@kotlin.Metadata
|
||||
public class My {
|
||||
public method <init>(): void
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user