[FIR] KT-52157: Fix missing type parameter annotations

This commit is contained in:
Nikolay Lunyak
2022-10-06 14:13:14 +03:00
committed by teamcity
parent 5347c3c7cc
commit dd861515ad
15 changed files with 72 additions and 2 deletions
@@ -0,0 +1,9 @@
public final class Convert<@R|test/Schema|() T, C> : R|kotlin/Any| {
public constructor<@R|test/Schema|() T, C>(): R|test/Convert<T, C>|
}
@R|kotlin/annotation/Target|(allowedTargets = <implicitArrayOf>(R|kotlin/annotation/AnnotationTarget.TYPE_PARAMETER|())) public final annotation class Schema : R|kotlin/Annotation| {
public constructor(): R|test/Schema|
}
@@ -4,7 +4,7 @@
}
public final class SimpleTypeParameterAnnotation : R|kotlin/Any| {
public final fun <T> foo(x: R|T|): R|kotlin/Unit|
public final fun <@R|test/A|() T> foo(x: R|T|): R|kotlin/Unit|
public constructor(): R|test/SimpleTypeParameterAnnotation|
@@ -10,7 +10,7 @@
}
public final class SimpleTypeParameterAnnotation : R|kotlin/Any| {
public final fun <T> foo(x: R|T|): R|kotlin/Unit|
public final fun <@R|test/A|(x = String(a), y = Double(1.0)) T> foo(x: R|T|): R|kotlin/Unit|
public constructor(): R|test/SimpleTypeParameterAnnotation|