Minor, add test on annotation on type argument

This commit is contained in:
Alexander Udalov
2015-04-27 15:53:58 +03:00
parent dc70c0d31e
commit 5541224288
6 changed files with 39 additions and 0 deletions
@@ -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()
}