Commit 919bb83
committed
refactor(rules:if): throw on unsupported node type in _nodeToAtom
Replaces the silent `return ""` default with an explicit error, making
unexpected AST node types fail loudly instead of producing a wrong result.1 parent aaef604 commit 919bb83
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
230 | 230 | | |
231 | 231 | | |
232 | 232 | | |
233 | | - | |
| 233 | + | |
234 | 234 | | |
235 | 235 | | |
236 | 236 | | |
| |||
0 commit comments