[FIR] Implement REPEATED_ANNOTATION for types refs ^KT-48652 Fixed

This commit is contained in:
Ivan Kochurkin
2021-09-28 02:11:23 +03:00
committed by teamcityserver
parent 3dc0935da4
commit 922ae607f6
7 changed files with 49 additions and 34 deletions
@@ -1,16 +0,0 @@
@Target(AnnotationTarget.TYPE)
annotation class A
typealias AInt = @A Int
typealias AI = AInt
typealias Test1 = @A AInt
typealias Test2 = @A AI
typealias Test3 = List<@A AInt>
typealias Test4 = List<@A AI>
val testProperty1: @A AInt = 0
val testProperty2: @A AI = 0
fun testFunction1(x: @A AInt): @A AInt = x
fun testFunction2(x: @A AI): @A AI = x
@@ -1,3 +1,4 @@
// FIR_IDENTICAL
@Target(AnnotationTarget.TYPE)
annotation class A
@@ -1,6 +0,0 @@
@Target(AnnotationTarget.TYPE)
annotation class A
typealias Gen<T> = List<@A T>
typealias Test1 = Gen<@A Int>
@@ -1,3 +1,4 @@
// FIR_IDENTICAL
@Target(AnnotationTarget.TYPE)
annotation class A