Repository navigation
Commit a74d6fb
Drop the variadic branch from the level-filtering callback
The callback only decides which members of the observed type findTypeToCheck()
keeps, and this check uses that result for nothing but its ErrorType test - which
the callback cannot influence, since filtering everything out falls back to the
unfiltered type. Unpacking the element type in there therefore changed nothing:
output is identical at levels 3, 5, 7, 8 and 9 on nullable, union, mixed and
object-typed variadic by-ref parameters, which are the shapes where the callback
is consulted at all.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>1 parent 27771bf commit a74d6fb
1 file changed
Lines changed: 1 addition & 10 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
57 | 57 | | |
58 | 58 | | |
59 | 59 | | |
60 | | - | |
61 | | - | |
62 | | - | |
63 | | - | |
64 | | - | |
65 | | - | |
66 | | - | |
67 | | - | |
68 | | - | |
69 | | - | |
| 60 | + | |
70 | 61 | | |
71 | 62 | | |
72 | 63 | | |
| |||
0 commit comments