[Analysis API] Render annotations of type parameters
This commit is contained in:
committed by
Space Team
parent
0c2e3d2d48
commit
1a10e0fdb6
+3
-1
@@ -1,4 +1,6 @@
|
||||
interface List<out T : Any> {
|
||||
@Target(AnnotationTarget.TYPE_PARAMETER) annotation class A
|
||||
|
||||
interface List<@A out T : Any> {
|
||||
operator fun get(index: Int): T
|
||||
|
||||
infix fun concat(other: List<T>): List<T>
|
||||
|
||||
+4
-1
@@ -1,4 +1,7 @@
|
||||
interface List<out T : Any> {
|
||||
@Target(allowedTargets = [kotlin.annotation.AnnotationTarget.TYPE_PARAMETER])
|
||||
annotation class A
|
||||
|
||||
interface List<@A out T : Any> {
|
||||
infix fun concat(other: List<T>): List<T>
|
||||
|
||||
operator fun get(index: Int): T
|
||||
|
||||
Reference in New Issue
Block a user