AtlatestRepositoryfolio

folio / tree / test / fixturesf2a-argument-edges.sgd

1#lang sigil/doc
2@note["topics/f2a-argument-edges" title: "Argument edge cases"]
3
4@p{Πρώτη παράγραφος, multi-byte and first, so the byte verifier can grade this
5fixture at all: it refuses a manuscript whose byte and scalar offsets never
6diverge, because such a manuscript cannot tell the two coordinate systems apart.}
7
8@task[""]{
9@p{An EMPTY STRING is not an id. It is truthy in Scheme, so the obvious
10`(if (string? v) v #f)` accepted it, skipped the missing-id diagnostic, and
11carried an id of "" into the graph tables.}
14@decision["d-dangling" title: "A keyword with no value" status:]{
15@p{The trailing @code{status:} has nothing after it. It used to fall through to
16the positional branch and become a phantom positional field whose value was the
17keyword object; on a node whose FIRST argument was such a keyword, the node
18silently lost its id and reported that its first argument was not a string.}
21@end note