Repository navigation
Commit 8093c92
committed
Leave the existing value checks in place around the shape memos
isSuperTypeOf() records a comparison only after the `no` early return,
and getConstantScalarValuesByKey() keeps its original checks and memoizes
their outcome, so the lines carrying the pre-existing TrinaryLogic checks
are unchanged. Mutation testing had flagged the moved
`$typeUnsealedness->yes()` check: `$bothDefinite` rules out the maybe
case there, so its `!no()` mutant cannot be told apart.
Amp-Thread-ID: https://ampcode.com/threads/T-01a1b24f-e4cc-7457-9324-5d29caf3c4811 parent bd07af4 commit 8093c92
3 files changed
Lines changed: 45 additions & 36 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
840 | 840 | | |
841 | 841 | | |
842 | 842 | | |
843 | | - | |
844 | | - | |
845 | | - | |
846 | | - | |
847 | | - | |
848 | | - | |
849 | | - | |
850 | | - | |
851 | | - | |
852 | | - | |
853 | | - | |
| 843 | + | |
| 844 | + | |
854 | 845 | | |
| 846 | + | |
| 847 | + | |
| 848 | + | |
| 849 | + | |
| 850 | + | |
| 851 | + | |
| 852 | + | |
855 | 853 | | |
856 | 854 | | |
857 | 855 | | |
| 856 | + | |
| 857 | + | |
| 858 | + | |
858 | 859 | | |
859 | 860 | | |
860 | 861 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1732 | 1732 | | |
1733 | 1733 | | |
1734 | 1734 | | |
1735 | | - | |
1736 | | - | |
1737 | | - | |
1738 | | - | |
1739 | | - | |
1740 | | - | |
1741 | | - | |
| 1735 | + | |
| 1736 | + | |
| 1737 | + | |
1742 | 1738 | | |
| 1739 | + | |
| 1740 | + | |
| 1741 | + | |
| 1742 | + | |
| 1743 | + | |
1743 | 1744 | | |
1744 | | - | |
| 1745 | + | |
| 1746 | + | |
1745 | 1747 | | |
1746 | 1748 | | |
1747 | | - | |
| 1749 | + | |
| 1750 | + | |
1748 | 1751 | | |
1749 | 1752 | | |
1750 | 1753 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3019 | 3019 | | |
3020 | 3020 | | |
3021 | 3021 | | |
3022 | | - | |
3023 | | - | |
3024 | | - | |
3025 | | - | |
3026 | | - | |
3027 | | - | |
3028 | | - | |
3029 | | - | |
3030 | | - | |
3031 | | - | |
3032 | | - | |
3033 | | - | |
| 3022 | + | |
| 3023 | + | |
| 3024 | + | |
| 3025 | + | |
| 3026 | + | |
| 3027 | + | |
| 3028 | + | |
3034 | 3029 | | |
3035 | | - | |
3036 | | - | |
| 3030 | + | |
3037 | 3031 | | |
3038 | | - | |
| 3032 | + | |
| 3033 | + | |
| 3034 | + | |
| 3035 | + | |
| 3036 | + | |
| 3037 | + | |
| 3038 | + | |
| 3039 | + | |
| 3040 | + | |
| 3041 | + | |
| 3042 | + | |
| 3043 | + | |
3039 | 3044 | | |
3040 | 3045 | | |
3041 | 3046 | | |
3042 | | - | |
| 3047 | + | |
3043 | 3048 | | |
3044 | 3049 | | |
3045 | 3050 | | |
| |||
0 commit comments