mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
CommonDataflow: fix for reference writes
This commit is contained in:
+1
-1
@@ -60,7 +60,7 @@ public class CommonDataflow {
|
||||
public DfaInstructionState[] visitPush(PushInstruction instruction, DataFlowRunner runner, DfaMemoryState memState) {
|
||||
DfaInstructionState[] states = super.visitPush(instruction, runner, memState);
|
||||
PsiExpression place = instruction.getPlace();
|
||||
if (place != null) {
|
||||
if (place != null && !instruction.isReferenceWrite()) {
|
||||
for (DfaInstructionState state : states) {
|
||||
dfr.add(place, (DfaMemoryStateImpl)state.getMemoryState());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user