From 76f4b980bc3c7d0e970f7458eb6ecde0dd8cb49d Mon Sep 17 00:00:00 2001 From: Joe Savona Date: Tue, 3 Jun 2025 09:00:16 -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]