Refactored ReferenceVariantsHelper to not require KtSimpleNameExpression

This commit is contained in:
Valentin Kipyatkov
2015-10-26 18:04:57 +03:00
parent dc791941d7
commit 59fa639ab4
5 changed files with 51 additions and 34 deletions
@@ -112,7 +112,7 @@ public fun Call.resolveCandidates(
val resolutionScope = callElement.getResolutionScope(bindingContext, resolutionFacade)
val inDescriptor = resolutionScope.ownerDescriptor
val dataFlowInfo = bindingContext.getDataFlowInfo(calleeExpression)
val dataFlowInfo = bindingContext.getDataFlowInfo(callElement)
val bindingTrace = DelegatingBindingTrace(bindingContext, "Temporary trace")
val callResolutionContext = BasicCallResolutionContext.create(
bindingTrace, resolutionScope, this, expectedType, dataFlowInfo,