Skip to content
Permalink
Browse files

Only mark vars as reconcilable if they can be memoized

  • Loading branch information
muglug committed Dec 12, 2019
1 parent f45014d commit 1df77a9f430470fc54d4d9ab9f89d87d90f6eebf
@@ -1351,7 +1351,7 @@ function (PhpParser\Node\Arg $arg) {
)) {
// fall through
}
} else {
} elseif ($can_memoize) {
/** @psalm-suppress UndefinedPropertyAssignment */
$stmt->pure = true;
}

0 comments on commit 1df77a9

Please sign in to comment.
You can’t perform that action at this time.