Commit fa7b3c6
Require both offsets 0 and 1 before narrowing ConstantArrayType with callable
Instead of narrowing keys 0 and 1 independently, first verify both are
present — a valid callable array requires both elements.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent 0f240cc commit fa7b3c6
1 file changed
Lines changed: 16 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1847 | 1847 | | |
1848 | 1848 | | |
1849 | 1849 | | |
| 1850 | + | |
| 1851 | + | |
| 1852 | + | |
1850 | 1853 | | |
1851 | 1854 | | |
1852 | | - | |
1853 | | - | |
1854 | | - | |
1855 | | - | |
| 1855 | + | |
1856 | 1856 | | |
1857 | | - | |
1858 | | - | |
1859 | | - | |
1860 | | - | |
| 1857 | + | |
| 1858 | + | |
| 1859 | + | |
| 1860 | + | |
| 1861 | + | |
| 1862 | + | |
| 1863 | + | |
| 1864 | + | |
| 1865 | + | |
| 1866 | + | |
| 1867 | + | |
| 1868 | + | |
1861 | 1869 | | |
1862 | 1870 | | |
1863 | 1871 | | |
| |||
0 commit comments