[FIR] Implement REPEATED_ANNOTATION for types refs ^KT-48652 Fixed
This commit is contained in:
committed by
teamcityserver
parent
3dc0935da4
commit
922ae607f6
-16
@@ -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
@@ -1,3 +1,4 @@
|
||||
// FIR_IDENTICAL
|
||||
@Target(AnnotationTarget.TYPE)
|
||||
annotation class A
|
||||
|
||||
|
||||
Vendored
-6
@@ -1,6 +0,0 @@
|
||||
@Target(AnnotationTarget.TYPE)
|
||||
annotation class A
|
||||
|
||||
typealias Gen<T> = List<@A T>
|
||||
|
||||
typealias Test1 = Gen<@A Int>
|
||||
+1
@@ -1,3 +1,4 @@
|
||||
// FIR_IDENTICAL
|
||||
@Target(AnnotationTarget.TYPE)
|
||||
annotation class A
|
||||
|
||||
|
||||
Reference in New Issue
Block a user