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:
@@ -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.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user