[IR] update testdata: better support for enum and object accesses

This commit is contained in:
Zalim Bashorov
2020-11-10 19:54:38 +03:00
committed by teamcityserver
parent 1fd12b7b8a
commit 5cb2572c60
13 changed files with 28 additions and 28 deletions
@@ -27,7 +27,7 @@ annotation class TestAnn : Annotation {
}
@TestAnn(x = En)
@TestAnn(x = En.A)
fun test1() {
}
@@ -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,4 +1,4 @@
@Target(allowedTargets = [AnnotationTarget])
@Target(allowedTargets = [AnnotationTarget.TYPEALIAS])
annotation class TestAnn : Annotation {
constructor(x: String) /* primary */
val x: String
@@ -1,4 +1,4 @@
@Target(allowedTargets = [AnnotationTarget])
@Target(allowedTargets = [AnnotationTarget.TYPE_PARAMETER])
annotation class Anno : Annotation {
constructor() /* primary */