(pattern: Expression)
| 1106 | // Test validatePattern directly with non-canonical patterns |
| 1107 | // (canonical forms may reorder operands for commutative operators) |
| 1108 | const validate = (pattern: Expression) => { |
| 1109 | const boxedPattern = ce.expr(pattern, { form: 'raw' }); |
| 1110 | validatePattern(boxedPattern); |
| 1111 | }; |
| 1112 | |
| 1113 | // INVALID: Consecutive multi-element wildcards (no delimiter to separate them) |
| 1114 | test('rejects consecutive sequence wildcards', () => { |
no test coverage detected