diff --git a/compiler/fir/tree/src/org/jetbrains/kotlin/fir/types/TypeConstructionUtils.kt b/compiler/fir/tree/src/org/jetbrains/kotlin/fir/types/TypeConstructionUtils.kt index 9f451180a45..3127b4613be 100644 --- a/compiler/fir/tree/src/org/jetbrains/kotlin/fir/types/TypeConstructionUtils.kt +++ b/compiler/fir/tree/src/org/jetbrains/kotlin/fir/types/TypeConstructionUtils.kt @@ -38,8 +38,8 @@ fun ClassId.toLookupTag(): ConeClassLikeLookupTagImpl { } fun ClassId.constructClassLikeType( - typeArguments: Array, - isNullable: Boolean, + typeArguments: Array = ConeTypeProjection.EMPTY_ARRAY, + isNullable: Boolean = false, attributes: ConeAttributes = ConeAttributes.Empty ): ConeClassLikeType { return ConeClassLikeTypeImpl(this.toLookupTag(), typeArguments, isNullable, attributes)