Minor. Remove unused CandidateWithBoundDispatchReceiver#copy
This commit is contained in:
@@ -58,8 +58,6 @@ interface CandidateWithBoundDispatchReceiver {
|
|||||||
val diagnostics: List<ResolutionDiagnostic>
|
val diagnostics: List<ResolutionDiagnostic>
|
||||||
|
|
||||||
val dispatchReceiver: ReceiverValueWithSmartCastInfo?
|
val dispatchReceiver: ReceiverValueWithSmartCastInfo?
|
||||||
|
|
||||||
fun copy(newDescriptor: CallableDescriptor): CandidateWithBoundDispatchReceiver
|
|
||||||
}
|
}
|
||||||
|
|
||||||
data class ResolutionCandidateStatus(val diagnostics: List<KotlinCallDiagnostic>) {
|
data class ResolutionCandidateStatus(val diagnostics: List<KotlinCallDiagnostic>) {
|
||||||
|
|||||||
@@ -41,7 +41,4 @@ internal class CandidateWithBoundDispatchReceiverImpl(
|
|||||||
override val dispatchReceiver: ReceiverValueWithSmartCastInfo?,
|
override val dispatchReceiver: ReceiverValueWithSmartCastInfo?,
|
||||||
override val descriptor: CallableDescriptor,
|
override val descriptor: CallableDescriptor,
|
||||||
override val diagnostics: List<ResolutionDiagnostic>
|
override val diagnostics: List<ResolutionDiagnostic>
|
||||||
) : CandidateWithBoundDispatchReceiver {
|
) : CandidateWithBoundDispatchReceiver
|
||||||
override fun copy(newDescriptor: CallableDescriptor) =
|
|
||||||
CandidateWithBoundDispatchReceiverImpl(dispatchReceiver, newDescriptor, diagnostics)
|
|
||||||
}
|
|
||||||
Reference in New Issue
Block a user