diff --git a/python/src/com/jetbrains/python/codeInsight/dataflow/scope/impl/ScopeImpl.java b/python/src/com/jetbrains/python/codeInsight/dataflow/scope/impl/ScopeImpl.java index 3b48330d3443..a5d8da6e94b8 100644 --- a/python/src/com/jetbrains/python/codeInsight/dataflow/scope/impl/ScopeImpl.java +++ b/python/src/com/jetbrains/python/codeInsight/dataflow/scope/impl/ScopeImpl.java @@ -108,7 +108,7 @@ public class ScopeImpl implements Scope { @NotNull @Override public List getNameDefiners() { - if (myNamedElements == null) { + if (myNameDefiners == null) { collectDeclarations(); } return myNameDefiners;