[FIR] Replace type variable types with error types in lambda completion

#KT-54568 Fixed
#KT-59882
This commit is contained in:
Kirill Rakhman
2023-08-07 16:30:01 +02:00
committed by Space Team
parent 48433bf9fd
commit 80200fc3c5
16 changed files with 46 additions and 50 deletions
@@ -37,6 +37,10 @@ class ConeCannotInferValueParameterType(
override val reason: String = "Cannot infer type for parameter ${valueParameter.name}"
) : ConeDiagnostic
class ConeCannotInferReceiverParameterType(
override val reason: String = "Cannot infer type for receiver parameter"
) : ConeDiagnostic
class ConeTypeVariableTypeIsNotInferred(
val typeVariableType: ConeTypeVariableType,
override val reason: String = "Type for ${typeVariableType.lookupTag.debugName} is not inferred"