-
Notifications
You must be signed in to change notification settings - Fork 48.7k
[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
Conversation
Updates fixtures whose output I've double-checked should change [ghstack-poisoned]
} | ||
const context = t2; | ||
|
||
mutate(key); |
There was a problem hiding this comment.
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
onClick={() => data.get(i) + prop1} | ||
shouldInvokeFns={true} | ||
/> | ||
); | ||
i = i + 1; |
There was a problem hiding this comment.
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]
Updates fixtures whose output I've double-checked should change ghstack-source-id: bf3d5a6 Pull Request resolved: facebook/react#33471
Stack from ghstack (oldest at bottom):
Updates fixtures whose output I've double-checked should change