Minor. Remove unused CandidateWithBoundDispatchReceiver#copy

This commit is contained in:
Stanislav Erokhin
2017-05-03 18:20:27 +03:00
parent ac06060260
commit c767545d4c
2 changed files with 1 additions and 6 deletions
@@ -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