Fixed ISE in ScopeImpl.getNameDefiners (EA-38404)

This commit is contained in:
Andrey Vlasovskikh
2012-08-21 18:05:03 +04:00
parent ba10b39b27
commit 249d6eba67
@@ -108,7 +108,7 @@ public class ScopeImpl implements Scope {
@NotNull
@Override
public List<NameDefiner> getNameDefiners() {
if (myNamedElements == null) {
if (myNameDefiners == null) {
collectDeclarations();
}
return myNameDefiners;