PY-6637 First steps in the initial implementation
[idea/community.git] / python / src / com / jetbrains / python / codeInsight / codeFragment / PyCodeFragmentUtil.java
index eb1f6a0f05e818a965f2d28f5bd44b1ddc0ad80a..25ca14531983100787e1d85f29a7a81aaa9b4939 100644 (file)
@@ -277,6 +277,7 @@ public class PyCodeFragmentUtil {
           for (PsiElement resolved : multiResolve(reference)) {
             if (!subGraphElements.contains(resolved)) {
               result.add(element);
+              break;
             }
           }
         }