Commit 531a3ab
committed
[compiler] Fix for inferring props-derived-value as mutable (#35140)
Fix for the repro from the previous PR. A `Capture x -> y` effect should
downgrade to `ImmutableCapture` when the source value is maybe-frozen.
MaybeFrozen represents the union of a frozen value with a non-frozen
value.
---
[//]: # (BEGIN SAPLING FOOTER)
Stack created with [Sapling](https://sapling-scm.com). Best reviewed
with [ReviewStack](https://reviewstack.dev/facebook/react/pull/35140).
* __->__ #35140
* #35139
DiffTrain build for [19b769f](19b769f)1 parent 4aab642 commit 531a3ab
File tree
35 files changed
+87
-86
lines changed- compiled
- eslint-plugin-react-hooks
- facebook-www
35 files changed
+87
-86
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
41109 | 41109 | | |
41110 | 41110 | | |
41111 | 41111 | | |
| 41112 | + | |
41112 | 41113 | | |
41113 | 41114 | | |
41114 | 41115 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1499 | 1499 | | |
1500 | 1500 | | |
1501 | 1501 | | |
1502 | | - | |
| 1502 | + | |
1503 | 1503 | | |
1504 | 1504 | | |
1505 | 1505 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1499 | 1499 | | |
1500 | 1500 | | |
1501 | 1501 | | |
1502 | | - | |
| 1502 | + | |
1503 | 1503 | | |
1504 | 1504 | | |
1505 | 1505 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
606 | 606 | | |
607 | 607 | | |
608 | 608 | | |
609 | | - | |
| 609 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
606 | 606 | | |
607 | 607 | | |
608 | 608 | | |
609 | | - | |
| 609 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
610 | 610 | | |
611 | 611 | | |
612 | 612 | | |
613 | | - | |
| 613 | + | |
614 | 614 | | |
615 | 615 | | |
616 | 616 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
610 | 610 | | |
611 | 611 | | |
612 | 612 | | |
613 | | - | |
| 613 | + | |
614 | 614 | | |
615 | 615 | | |
616 | 616 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20466 | 20466 | | |
20467 | 20467 | | |
20468 | 20468 | | |
20469 | | - | |
| 20469 | + | |
20470 | 20470 | | |
20471 | 20471 | | |
20472 | | - | |
| 20472 | + | |
20473 | 20473 | | |
20474 | 20474 | | |
20475 | 20475 | | |
| |||
20504 | 20504 | | |
20505 | 20505 | | |
20506 | 20506 | | |
20507 | | - | |
| 20507 | + | |
20508 | 20508 | | |
20509 | 20509 | | |
20510 | 20510 | | |
| |||
0 commit comments