Commit d5a3045
committed
docs(lint): name the sibling call site the union default still traps
The note read as if the flat-union default were correct for the caller that
still takes it. It is not: `lint-flow-patterns.ts` runs its own recursive
template scan over the union view, so it is blind to an `http` node's `body`
for exactly the reason this function's own doc gives one paragraph earlier —
the same defect, one call site over. The default is scope control for this
change, not a verdict, and the note now says which.
Also states the endgame, so the next reader does not have to rediscover it:
once that caller passes its own slots, `regionKeys` has no default-takers left
and must become required, or the shorter call keeps handing out the trap.
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Vbw3RPgdtqesx4azk9SbW81 parent e1c87b1 commit d5a3045
1 file changed
Lines changed: 10 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
151 | 151 | | |
152 | 152 | | |
153 | 153 | | |
154 | | - | |
155 | | - | |
156 | | - | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
157 | 164 | | |
158 | 165 | | |
159 | 166 | | |
| |||
0 commit comments