Commit c760141
Remove additional dead code: single-member union collapse path
After removing simplify_nullable_unions, the code path that handled unions
collapsing to a single member (line 147-149) became unreachable.
This path was only hit when simplify_nullable_unions converted:
anyOf: [{type: 'string'}, {type: 'null'}] → {type: 'string', nullable: true}
Without that feature, multi-member unions can't collapse to 1 member naturally.
Removed 4 more lines of unreachable code.
This should restore 100% coverage.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <[email protected]>1 parent 9254fd5 commit c760141
1 file changed
+0
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
144 | 144 | | |
145 | 145 | | |
146 | 146 | | |
147 | | - | |
148 | | - | |
149 | | - | |
150 | | - | |
151 | 147 | | |
152 | 148 | | |
153 | 149 | | |
| |||
0 commit comments