[Test] Add proper annotation target in SupertypesAndBounds test

This commit is contained in:
Dmitriy Novozhilov
2021-04-12 11:18:02 +03:00
committed by TeamCityServer
parent 0b2943d34c
commit aec13defc4
3 changed files with 3 additions and 2 deletions

View File

@@ -1,4 +1,4 @@
public final annotation class A : R|kotlin/Annotation| {
@R|kotlin/annotation/Target|(allowedTargets = <implicitArrayOf>(R|kotlin/annotation/AnnotationTarget.TYPE|())) public final annotation class A : R|kotlin/Annotation| {
public constructor(): R|test/A|
}

View File

@@ -4,6 +4,7 @@ package test
import java.io.Serializable
@Target(AnnotationTarget.TYPE)
annotation class A
interface Foo<T : @A Number> : @A Serializable {

View File

@@ -1,6 +1,6 @@
package test
public final annotation class A : kotlin.Annotation {
@kotlin.annotation.Target(allowedTargets = {AnnotationTarget.TYPE}) public final annotation class A : kotlin.Annotation {
/*primary*/ public constructor A()
}