mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-10-06 06:21:16 +07:00
cache the default dfaVar type
This commit is contained in:
-4
@@ -783,10 +783,6 @@ public class DfaMemoryStateImpl implements DfaMemoryState {
|
||||
|
||||
if (state == null) {
|
||||
state = createVariableState(dfaVar);
|
||||
PsiType type = dfaVar.getVariableType();
|
||||
if (type != null) {
|
||||
state.setInstanceofValue(myFactory.getTypeFactory().createTypeValue(type));
|
||||
}
|
||||
if (isUnknownState(dfaVar)) {
|
||||
state.setNullable(false);
|
||||
return state;
|
||||
|
||||
Reference in New Issue
Block a user