Skip to content

[compiler][newinference] Update fixtures #33471

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed

Conversation

josephsavona
Copy link
Member

@josephsavona josephsavona commented Jun 6, 2025

Stack from ghstack (oldest at bottom):

Updates fixtures whose output I've double-checked should change

Updates fixtures whose output I've double-checked should change

[ghstack-poisoned]
This was referenced Jun 6, 2025
}
const context = t2;

mutate(key);
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the fact that key was incorrectly used as an object key doesn't mean it isn't a mutable object that can mutate here

Comment on lines +21 to +25
onClick={() => data.get(i) + prop1}
shouldInvokeFns={true}
/>
);
i = i + 1;
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the reassignment is mutating a value captured by jsx, this should have been rejected

Updates fixtures whose output I've double-checked should change

[ghstack-poisoned]
Updates fixtures whose output I've double-checked should change

[ghstack-poisoned]
pandyashivam pushed a commit to dev-destinytech/react that referenced this pull request Jun 14, 2025
Updates fixtures whose output I've double-checked should change

ghstack-source-id: bf3d5a6
Pull Request resolved: facebook/react#33471
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed React Core Team Opened by a member of the React Core Team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants