AtlatestRepositoryfolio

folio / tree / test / fixturesf1b-duplicate-section.sgd

1#lang folio/doc
2@note["topics/f1b-duplicate-section" title: "A core section id colliding with a task id" tags: '("folio")]
3
4@p{F1a's SECOND disclosed deferral: `container-section` passes a folio node id
5straight to `make-section`, so a core section and a task sharing an id both
6lower to sections with that id, minting a collision in sigil-doc's anchor
7namespace that the lowering does not own. A uniqueness check over folio ids
8ALONE would leave this open while looking like it had closed it.}
9
10@section["A core section wearing a task's id" id: "t-collide"]{
11@p{An ordinary section, whose id is the collision.}
14@task["t-collide" title: "A task wearing the section's id" status: 'ready]{
15@p{Same id, different namespace of origin, one anchor namespace after lowering.}
18@end note