[FIR] Fix nullability of function type created from custom function type
#KT-64706 Fixed
This commit is contained in:
committed by
Space Team
parent
811e8d7c3b
commit
d047db850f
@@ -113,7 +113,7 @@ private fun ConeKotlinType.createFunctionTypeWithNewKind(session: FirSession, ki
|
||||
val functionTypeId = ClassId(kind.packageFqName, kind.numberedClassName(expandedType.typeArguments.size - 1))
|
||||
return functionTypeId.toLookupTag().constructClassType(
|
||||
expandedType.typeArguments,
|
||||
isNullable = false,
|
||||
isNullable = expandedType.isNullable,
|
||||
attributes = expandedType.attributes
|
||||
)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user