From e3eba6774441ace33fcb70d40ba2951b74a8d096 Mon Sep 17 00:00:00 2001 From: Joe Savona Date: Fri, 6 Jun 2025 12:58:45 -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]