[FIR] Support of type arguments in annotations ^KT-48444 Fixed

This commit is contained in:
Ivan Kochurkin
2022-04-06 20:54:26 +03:00
committed by teamcity
parent 05bed8f751
commit 8c7fad9a5e
26 changed files with 465 additions and 36 deletions
@@ -0,0 +1,8 @@
// FIR_IDENTICAL
// ISSUE: KT-48444
annotation class Foo<T>(val s: String)
@Foo<Int>("")
fun foo() {
}
@@ -0,0 +1,11 @@
package
@Foo<kotlin.Int>(s = "") public fun foo(): kotlin.Unit
public final annotation class Foo</*0*/ T> : kotlin.Annotation {
public constructor Foo</*0*/ T>(/*0*/ s: kotlin.String)
public final val s: kotlin.String
public open override /*1*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean
public open override /*1*/ /*fake_override*/ fun hashCode(): kotlin.Int
public open override /*1*/ /*fake_override*/ fun toString(): kotlin.String
}