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 committed 2025-06-09 11:11:54 -07:00
commit 39cf0b4d1a

Diff Content Not Available