You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 2b4585c
Browse filesBrowse the repository at this point in the historyBrowse files
🐛 Hold a forms declaration and a dotted name to their own grammar
Six corrections to the `xmd syntax` catalog, all of them places where the
catalog described something other than what the code accepts.
**A dot is a separator, never part of a segment.** Path inversion and the
symlink-relevance check asked the whole-name predicate, which admits
`File.Delete`. But `File.Delete` is probed at `File/Delete.md`, so a file
called `File.Delete.md` and a directory called `File.Delete` answer to no name
at all. Both now ask a single-segment predicate. The dotted directory symlink
is the case that showed: it was classified, found to be a directory, and failed
the whole request over a path no candidate runs through.
**Forms have one canonical spelling, checked where the declaration is made.**
Omission means both; the only arrays are `["self-closing"]`, `["paired"]` and
`["self-closing", "paired"]`. An empty array, a reversed pair, a repeated
member and a form no invocation has are refused by one shared check, used by
registration and by the identity declarations inspection reads — refusing in
only one of those places refuses only when a document happens to run.
**First-party forms now match what is accepted.** `<Json>` refuses content in
its own body, so it reports one form; an assertion kind that does not read
expected children refuses them, so those report one form too. Both facts are
read off the value that already decides them.
**The testing prose was wrong in three ways.** `<AssertThrows>` requires
`message` rather than taking it optionally; its `as` binds the complete caught
error segment by reference; and an ordinary assertion's `as` binds the
diagnostic report it rendered, which a failing assertion never returns.
**Every Markdown table cell is escaped, prop names included.** One pipe in a
property name shifted every column after it.
The two `as const` assertions in the CLI renderer are gone; the category-keyed
tables take a declared type derived from the catalog.
0 commit comments