Minor, add test on annotation on type argument
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
// ALLOW_AST_ACCESS
|
||||
|
||||
package test
|
||||
|
||||
@Target(AnnotationTarget.TYPE)
|
||||
annotation class A
|
||||
|
||||
fun foo(bar: Map<@A String, List<@A Int>>) {}
|
||||
@@ -0,0 +1,7 @@
|
||||
package test
|
||||
|
||||
public fun foo(/*0*/ bar: kotlin.Map<@test.A() kotlin.String, kotlin.List<@test.A() kotlin.Int>>): kotlin.Unit
|
||||
|
||||
@kotlin.annotation.Target(allowedTargets = {AnnotationTarget.TYPE}) public final annotation class A : kotlin.Annotation {
|
||||
/*primary*/ public constructor A()
|
||||
}
|
||||
Reference in New Issue
Block a user