[FIR/IR generator] Add default arguments to TypeVariable constructor
This commit is contained in:
committed by
Space Team
parent
730f98ba38
commit
bca35c0015
+2
-2
@@ -283,8 +283,8 @@ fun <Self : ParametrizedTypeRef<Self, PositionTypeParameterRef>> ParametrizedTyp
|
||||
|
||||
class TypeVariable(
|
||||
name: String,
|
||||
val bounds: List<TypeRef>,
|
||||
val variance: Variance,
|
||||
val bounds: List<TypeRef> = emptyList(),
|
||||
val variance: Variance = Variance.INVARIANT,
|
||||
) : NamedTypeParameterRef(name)
|
||||
|
||||
fun <P : TypeParameterRef> KClass<*>.asRef(): ClassRef<P> {
|
||||
|
||||
Reference in New Issue
Block a user