From 16719a320e6dd94635b04a17e7996df6a7bb536e Mon Sep 17 00:00:00 2001 From: Valentina Kiryushkina Date: Fri, 12 May 2017 18:23:26 +0300 Subject: [PATCH] Remove unused resolve context --- .../python/codeInsight/PySubstitutionChunkReference.java | 3 --- 1 file changed, 3 deletions(-) diff --git a/python/src/com/jetbrains/python/codeInsight/PySubstitutionChunkReference.java b/python/src/com/jetbrains/python/codeInsight/PySubstitutionChunkReference.java index 8330638fd498..e15915c4d6d8 100644 --- a/python/src/com/jetbrains/python/codeInsight/PySubstitutionChunkReference.java +++ b/python/src/com/jetbrains/python/codeInsight/PySubstitutionChunkReference.java @@ -345,7 +345,6 @@ public class PySubstitutionChunkReference extends PsiReferenceBase resolvedRef = getElementFromDictLiteral(containedExpr, key); return resolvedRef != null ? resolvedRef.get() : containedExpr; @@ -416,7 +415,6 @@ public class PySubstitutionChunkReference extends PsiReferenceBase resolveKeywordStarExpression(@NotNull PyStarArgument starArgument) { - final PyResolveContext resolveContext = PyResolveContext.noImplicits().withTypeEvalContext(myTypeEvalContext); // TODO: support call, reference expressions here final PyDictLiteralExpression dictExpr = PsiTreeUtil.getChildOfType(starArgument, PyDictLiteralExpression.class); final PyCallExpression callExpression = PsiTreeUtil.getChildOfType(starArgument, PyCallExpression.class); @@ -497,7 +495,6 @@ public class PySubstitutionChunkReference extends PsiReferenceBase resolveDictCall(@NotNull PyCallExpression expression, @NotNull String key, boolean goDeep) { final PyExpression callee = expression.getCallee(); - final PyResolveContext resolveContext = PyResolveContext.noImplicits().withTypeEvalContext(myTypeEvalContext); boolean allKeysForSure = true; final LanguageLevel languageLevel = LanguageLevel.forElement(expression); if (callee != null) {