[IR] update testdata: better support for enum and object accesses
This commit is contained in:
committed by
teamcityserver
parent
1fd12b7b8a
commit
5cb2572c60
+1
-1
@@ -27,7 +27,7 @@ annotation class TestAnn : Annotation {
|
||||
|
||||
}
|
||||
|
||||
@TestAnn(x = En)
|
||||
@TestAnn(x = En.A)
|
||||
fun test1() {
|
||||
}
|
||||
|
||||
|
||||
+1
-1
@@ -1,7 +1,7 @@
|
||||
@file:A(x = "File annotation")
|
||||
package test
|
||||
|
||||
@Target(allowedTargets = [AnnotationTarget])
|
||||
@Target(allowedTargets = [AnnotationTarget.FILE])
|
||||
annotation class A : Annotation {
|
||||
constructor(x: String) /* primary */
|
||||
val x: String
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
@Target(allowedTargets = [AnnotationTarget])
|
||||
@Target(allowedTargets = [AnnotationTarget.TYPEALIAS])
|
||||
annotation class TestAnn : Annotation {
|
||||
constructor(x: String) /* primary */
|
||||
val x: String
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
@Target(allowedTargets = [AnnotationTarget])
|
||||
@Target(allowedTargets = [AnnotationTarget.TYPE_PARAMETER])
|
||||
annotation class Anno : Annotation {
|
||||
constructor() /* primary */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user