()
| 425 | |
| 426 | it('structural Function literal: still excludes its parameters', () => { |
| 427 | const f = engine.box(['Function', ['Add', 'x', 'b'], 'x'], { |
| 428 | structural: true, |
| 429 | }); |
| 430 | expect(f.freeVariables).toEqual(['b']); |
| 431 | }); |
| 432 | |
| 433 | it('a node with no definition falls back to the spelling heuristic', () => { |
| 434 | // `canonical: false` leaves the node unbound (no operator definition), so |
| 435 | // there are no binding sites to consult: only the canonical |
| 436 | // `Limits`/`Element` spellings are recognized, and `Tuple` is not. |
no test coverage detected