diff --git a/compiler/frontend/src/org/jetbrains/jet/lang/resolve/calls/context/CallCandidateResolutionContext.java b/compiler/frontend/src/org/jetbrains/jet/lang/resolve/calls/context/CallCandidateResolutionContext.java index 889ff52c999..c0a1a22c09b 100644 --- a/compiler/frontend/src/org/jetbrains/jet/lang/resolve/calls/context/CallCandidateResolutionContext.java +++ b/compiler/frontend/src/org/jetbrains/jet/lang/resolve/calls/context/CallCandidateResolutionContext.java @@ -66,7 +66,7 @@ public final class CallCandidateResolutionContext @NotNull MutableResolvedCall candidateCall, @NotNull CallResolutionContext context, @NotNull BindingTrace trace, @NotNull TracingStrategy tracing, @NotNull Call call, @NotNull ReceiverValue explicitExtensionReceiverForInvoke ) { - candidateCall.setInitialDataFlowInfo(context.dataFlowInfo); + candidateCall.getDataFlowInfoForArguments().setInitialDataFlowInfo(context.dataFlowInfo); return new CallCandidateResolutionContext( candidateCall, tracing, trace, context.scope, call, context.expectedType, context.dataFlowInfo, context.contextDependency, context.checkArguments, diff --git a/compiler/frontend/src/org/jetbrains/jet/lang/resolve/calls/model/MutableResolvedCall.java b/compiler/frontend/src/org/jetbrains/jet/lang/resolve/calls/model/MutableResolvedCall.java index f288fb8d467..7cbcd157eb1 100644 --- a/compiler/frontend/src/org/jetbrains/jet/lang/resolve/calls/model/MutableResolvedCall.java +++ b/compiler/frontend/src/org/jetbrains/jet/lang/resolve/calls/model/MutableResolvedCall.java @@ -53,9 +53,6 @@ public interface MutableResolvedCall extends Resol @NotNull MutableDataFlowInfoForArguments getDataFlowInfoForArguments(); - void setInitialDataFlowInfo(@NotNull DataFlowInfo info); - - @Nullable ConstraintSystem getConstraintSystem(); diff --git a/compiler/frontend/src/org/jetbrains/jet/lang/resolve/calls/model/ResolvedCallImpl.java b/compiler/frontend/src/org/jetbrains/jet/lang/resolve/calls/model/ResolvedCallImpl.java index 45796f4de2e..3493e06d771 100644 --- a/compiler/frontend/src/org/jetbrains/jet/lang/resolve/calls/model/ResolvedCallImpl.java +++ b/compiler/frontend/src/org/jetbrains/jet/lang/resolve/calls/model/ResolvedCallImpl.java @@ -286,11 +286,6 @@ public class ResolvedCallImpl implements MutableRe return isSafeCall; } - @Override - public void setInitialDataFlowInfo(@NotNull DataFlowInfo info) { - dataFlowInfoForArguments.setInitialDataFlowInfo(info); - } - @NotNull @Override public MutableDataFlowInfoForArguments getDataFlowInfoForArguments() {