Annotations on type projection belong to type reference

This commit is contained in:
Svetlana Isakova
2015-10-07 21:22:10 +03:00
parent 63d9e287b7
commit 9b1030de2e
6 changed files with 30 additions and 16 deletions
@@ -1,3 +1,5 @@
annotation class base
val x: List<@<!DEBUG_INFO_MISSING_UNRESOLVED!>base<!> String>? = null
val x: List<@base String>? = null
val y: List<@[base] String>? = null
@@ -1,6 +1,7 @@
package
public val x: kotlin.List<kotlin.String>? = null
public val x: kotlin.List<@base() kotlin.String>? = null
public val y: kotlin.List<@base() kotlin.String>? = null
@kotlin.annotation.annotation() public final class base : kotlin.Annotation {
public constructor base()