small refactoring

This commit is contained in:
Svetlana Isakova
2013-09-01 20:10:36 +04:00
parent 0084b68176
commit 5f029c4c57
@@ -320,9 +320,7 @@ public class CallResolver {
}
traceToResolveCall.commit();
if (prioritizedTasks.isEmpty() || context.contextDependency == ContextDependency.DEPENDENT) {
//do nothing
} else {
if (!prioritizedTasks.isEmpty() && context.contextDependency == ContextDependency.INDEPENDENT) {
results = completeTypeInferenceDependentOnExpectedType(context, results, tracing);
}