From ee802b2e77b5732991c490b824aa5a96efa3d155 Mon Sep 17 00:00:00 2001 From: Joe Savona Date: Thu, 22 May 2025 16:57:18 -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]