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
+1 -1
View File
@@ -71,7 +71,7 @@ public interface KType {
* for more information.
*/
@SinceKotlin("1.1")
public data class KTypeProjection private constructor(
public data class KTypeProjection constructor(
/**
* The use-site variance specified in the projection, or `null` if this is a star projection.
*/