From f11c19130605d21ec423c04da4a7ca0cc00fd6c8 Mon Sep 17 00:00:00 2001 From: Joe Savona Date: Tue, 3 Jun 2025 16:59:43 -0700 Subject: [PATCH] Update base for Update on "[compiler] Fix for PropertyStore object effect" Fix for the issue in the previous PR. Long-term the ideal thing would be to make InferMutableRanges smarter about Store effects, and recognize that they are also transitive mutations of whatever was captured into the object. So in the following: ``` const x = {y: {z: {}}}; x.y.z.key = value; ``` That the `PropertyStore z . 'key' = value` is a transitive mutation of x and all three object expressions (x, x.y, x.y.z). But for now it's simpler to stick to the original idea of Store only counting if we know that the type is an object. [ghstack-poisoned]