mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
EA-19707 - NPE: DFAMap.get
This commit is contained in:
@@ -31,6 +31,9 @@ public class PyReachingDefsDfaInstance implements DfaMapInstance<ScopeVariable>
|
||||
return map;
|
||||
}
|
||||
final String name = rwInstruction.getName();
|
||||
if (name == null){
|
||||
return map;
|
||||
}
|
||||
final ScopeVariable variable = map.get(name);
|
||||
// Parameter case
|
||||
final PsiElement parameterScope = ScopeUtil.getParameterScope(element);
|
||||
|
||||
Reference in New Issue
Block a user