[Test] Add proper annotation target in SupertypesAndBounds test
This commit is contained in:
committed by
TeamCityServer
parent
0b2943d34c
commit
aec13defc4
Vendored
+1
-1
@@ -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|
|
public constructor(): R|test/A|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
+1
@@ -4,6 +4,7 @@ package test
|
|||||||
|
|
||||||
import java.io.Serializable
|
import java.io.Serializable
|
||||||
|
|
||||||
|
@Target(AnnotationTarget.TYPE)
|
||||||
annotation class A
|
annotation class A
|
||||||
|
|
||||||
interface Foo<T : @A Number> : @A Serializable {
|
interface Foo<T : @A Number> : @A Serializable {
|
||||||
|
|||||||
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
package test
|
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()
|
/*primary*/ public constructor A()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user