From 249d6eba67eaf4fc8249970b38170412baab6f7b Mon Sep 17 00:00:00 2001 From: Andrey Vlasovskikh Date: Tue, 21 Aug 2012 18:05:03 +0400 Subject: [PATCH] Fixed ISE in ScopeImpl.getNameDefiners (EA-38404) --- .../python/codeInsight/dataflow/scope/impl/ScopeImpl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;