From 37f0212e50ef4d969a9ee0780ff2c2387b89bd49 Mon Sep 17 00:00:00 2001 From: Joe Savona Date: Mon, 12 May 2025 17:00:51 -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]