Update on "[compiler][newinference] Improve hoisted functions, validation of mutate-after-render"

Updates ValidateNoFreezingMutableFunctions to account for indirections, where the frozen function calls another function that actually does the mutation. We just need to propagate on the mutation. Also some fixes for hoisted functions, DeclareContext can actually appear twice, so we need to check that subsequent (re)declarations are treated as a mutation, not a creation.

[ghstack-poisoned]
This commit is contained in:
Joe Savona
2025-06-06 12:58:46 -07:00

Diff Content Not Available