Skip to content

Commit 4f93239

Browse files
committed
Try fixing AlwaysRememberedExpr FNSR issue
1 parent 6ad4367 commit 4f93239

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Analyser/NodeScopeResolver.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4378,6 +4378,7 @@ function (MutatingScope $scope) use ($stmt, $expr, $nodeCallback, $context, $sto
43784378
$impurePoints = $result->getImpurePoints();
43794379
$isAlwaysTerminating = $result->isAlwaysTerminating();
43804380
$scope = $result->getScope();
4381+
$this->storeBeforeScope($storage, $expr, $result);
43814382

43824383
$expr = $expr->getExpr();
43834384
} elseif ($expr instanceof Expr\Throw_) {

0 commit comments

Comments
 (0)