Skip to content

Commit

Permalink
BUGFIX: Recognize removed-state while reducing
Browse files Browse the repository at this point in the history
  • Loading branch information
Nikdro authored and markusguenther committed Feb 4, 2025
1 parent c968802 commit 4ef4c9c
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1334,6 +1334,7 @@ function (Workspace $workspace) {
}
}
$dimensionPositions[] = $workspacePosition;
$dimensionPositions[] = $node->isRemoved() ? PHP_INT_MAX : PHP_INT_MIN;

$identifier = $node->getIdentifier();
// Yes, it seems to work comparing arrays that way!
Expand Down

0 comments on commit 4ef4c9c

Please sign in to comment.