typealias expansion fixes

- Exception on dynamic type in typealias argument expansion
 #KT-18858 Fixed Target versions 1.1.5
- Wrong report location for repeated annotations in typealias arguments
 #KT-18940 Fixed Target versions 1.1.5
- Don't drop type annotations for dynamic type
 #KT-18944 Fixed Target versions 1.1.5
This commit is contained in:
Dmitry Petrov
2017-07-10 13:07:55 +03:00
parent a0f11f773b
commit 83ec8aa918
11 changed files with 155 additions and 39 deletions
@@ -0,0 +1,6 @@
@Target(AnnotationTarget.TYPE)
annotation class A
typealias Gen<T> = List<@A T>
typealias Test1 = Gen<<!REPEATED_ANNOTATION!>@A<!> Int>
@@ -0,0 +1,10 @@
package
@kotlin.annotation.Target(allowedTargets = {AnnotationTarget.TYPE}) public final annotation class A : kotlin.Annotation {
public constructor A()
public open override /*1*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean
public open override /*1*/ /*fake_override*/ fun hashCode(): kotlin.Int
public open override /*1*/ /*fake_override*/ fun toString(): kotlin.String
}
public typealias Gen</*0*/ T> = kotlin.collections.List<@A T>
public typealias Test1 = Gen<@A kotlin.Int>