From 2062925d372f984e374a0086ea8e50f3663beb82 Mon Sep 17 00:00:00 2001 From: Joe Savona Date: Fri, 6 Jun 2025 18:06:19 -0700 Subject: [PATCH] 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]