Files
rose-ash/lib/hyperscript
giles 297f0603e5
Some checks failed
Test, Build, and Deploy / test-build-deploy (push) Failing after 49s
HS: fix remove [@attr] — consume bracket-close instead of match-kw "]"
match-kw only matches tokens of type "keyword", but ] tokenizes as
bracket-close. This left the ] unconsumed after remove [@foo], causing
the attribute to never be removed. Use (when (= (tp-type) "bracket-close") (adv!))
matching the same pattern parse-add-cmd uses for [attr=val].

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-05 13:34:22 +00:00
..