Commit 13752bf
committed
[compiler] patch: rewrite scope dep/decl in inlineJsxTransform
This bugfix is needed to land #31199 PropagateScopeDepsHIR infers scope declarations for the `inline-jsx-transform` test fixture (the non-hir version does not).
These declarations must get the rewritten phi identifiers1 parent e288dea commit 13752bf
File tree
1 file changed
+40
-4
lines changed- compiler/packages/babel-plugin-react-compiler/src/Optimization
1 file changed
+40
-4
lines changedLines changed: 40 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
383 | 383 | | |
384 | 384 | | |
385 | 385 | | |
| 386 | + | |
| 387 | + | |
| 388 | + | |
| 389 | + | |
| 390 | + | |
| 391 | + | |
| 392 | + | |
| 393 | + | |
| 394 | + | |
| 395 | + | |
| 396 | + | |
| 397 | + | |
| 398 | + | |
| 399 | + | |
| 400 | + | |
| 401 | + | |
| 402 | + | |
| 403 | + | |
| 404 | + | |
| 405 | + | |
| 406 | + | |
| 407 | + | |
| 408 | + | |
| 409 | + | |
386 | 410 | | |
387 | 411 | | |
388 | 412 | | |
| |||
697 | 721 | | |
698 | 722 | | |
699 | 723 | | |
700 | | - | |
| 724 | + | |
701 | 725 | | |
702 | 726 | | |
703 | | - | |
| 727 | + | |
704 | 728 | | |
705 | 729 | | |
706 | 730 | | |
| |||
715 | 739 | | |
716 | 740 | | |
717 | 741 | | |
718 | | - | |
| 742 | + | |
719 | 743 | | |
720 | 744 | | |
721 | | - | |
| 745 | + | |
| 746 | + | |
| 747 | + | |
| 748 | + | |
| 749 | + | |
| 750 | + | |
| 751 | + | |
| 752 | + | |
| 753 | + | |
| 754 | + | |
| 755 | + | |
| 756 | + | |
| 757 | + | |
722 | 758 | | |
0 commit comments