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