Files
rose-ash/lib
giles 85cef7d80f
Some checks failed
Test, Build, and Deploy / test-build-deploy (push) Failing after 39s
HS: remove parse-cmd callable guard — allow all expression statements (+45 tests)
The callable check added in 0bef67dd rejected legitimate expression
statements (as-conversions, array literals, property access, breakpoint)
because they produce non-call AST nodes. The at-end? guard already handles
the trailing-then EOF case; the callable check is redundant and wrong.
Removing it restores the original open fallback: any parse-expr result is
a valid command. arrayLiteral 8/8, breakpoint 2/2, asExpression +35,
evalStatically +5, regressions +3.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-05 16:51:41 +00:00
..