Make KTypeProjection's constructor public

To make it easier to create a KTypeProjection instance given a KVariance
instance (otherwise you currently need to do a "when" on it). Also it's exposed
via automatically generated "copy" anyway
This commit is contained in:
Alexander Udalov
2017-01-26 20:00:54 +03:00
parent e5680565b3
commit eb61a1c5a8
3 changed files with 3 additions and 1 deletions
@@ -1205,6 +1205,7 @@ public abstract interface class kotlin/reflect/KTypeParameter : kotlin/reflect/K
public final class kotlin/reflect/KTypeProjection {
public static final field Companion Lkotlin/reflect/KTypeProjection$Companion;
public fun <init> (Lkotlin/reflect/KVariance;Lkotlin/reflect/KType;)V
public final fun component1 ()Lkotlin/reflect/KVariance;
public final fun component2 ()Lkotlin/reflect/KType;
public final fun copy (Lkotlin/reflect/KVariance;Lkotlin/reflect/KType;)Lkotlin/reflect/KTypeProjection;
@@ -3334,6 +3334,7 @@ public abstract interface class kotlin/reflect/KTypeParameter : kotlin/reflect/K
public final class kotlin/reflect/KTypeProjection {
public static final field Companion Lkotlin/reflect/KTypeProjection$Companion;
public fun <init> (Lkotlin/reflect/KVariance;Lkotlin/reflect/KType;)V
public final fun component1 ()Lkotlin/reflect/KVariance;
public final fun component2 ()Lkotlin/reflect/KType;
public final fun copy (Lkotlin/reflect/KVariance;Lkotlin/reflect/KType;)Lkotlin/reflect/KTypeProjection;