-
Notifications
You must be signed in to change notification settings - Fork 47.5k
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
[compiler] Fix invalid Array.map type #32095
Conversation
Small patch to pass aliased context values into `Object|ArrayExpression`s
See test fixture
See test fixture
Ahhh I see why this happened — note that the BuiltInArray methods already are marked as ConditionallyMutate. Its the copies of those declarations on the MixedReadonly type that were wrong. Before landing, can you please update all of the other relevant MixedReadonly methods to ConditionallyMutate? |
Done, thanks for catching these! I thought I checked the other MixedReadonlys before but completely missed |
Small patch to pass aliased context values into `Object|ArrayExpression`s --- [//]: # (BEGIN SAPLING FOOTER) Stack created with [Sapling](https://sapling-scm.com). Best reviewed with [ReviewStack](https://reviewstack.dev/facebook/react/pull/32093). * #32099 * #32104 * #32098 * #32097 * #32096 * #32095 * #32094 * __->__ #32093
See test fixture --- [//]: # (BEGIN SAPLING FOOTER) Stack created with [Sapling](https://sapling-scm.com). Best reviewed with [ReviewStack](https://reviewstack.dev/facebook/react/pull/32094). * #32099 * #32104 * #32098 * #32097 * #32096 * #32095 * __->__ #32094 * #32093
See title: this fixes test cases broken by #32095 adding instead of moving new test fixtures
See test fixture
Stack created with Sapling. Best reviewed with ReviewStack.