Commit aed76f4
Fix typecheck error in markdown footnote test
The test cast for the footnote node attempted to coerce all
SemanticNode-shaped children into FootnoteNode's narrower
InlineNode[] children type. Drop the redundant local cast and reuse
findFirst's SemanticNode return — assertions don't need the
narrowed shape.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent 66d1616 commit aed76f4
1 file changed
Lines changed: 2 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
219 | 219 | | |
220 | 220 | | |
221 | 221 | | |
222 | | - | |
223 | | - | |
224 | | - | |
| 222 | + | |
225 | 223 | | |
226 | 224 | | |
227 | | - | |
| 225 | + | |
228 | 226 | | |
229 | 227 | | |
230 | 228 | | |
| |||
0 commit comments