Skip to content
Snippets Groups Projects
Commit bf1b0022 authored by Joe Savona's avatar Joe Savona
Browse files

Update base for Update on "[compiler][newinference] Improve hoisted functions,...

Update base for 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]
parent 2062925d
Showing
No files found.
with 0 additions and 0 deletions
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment