mirror of
https://github.com/larvit/adf-codec.git
synced 2026-11-20 23:25:43 +01:00
Answer prose round 1: 0 🔴, 7 🟡 (0 misread); state the sweep's rule as line equality with the reference, and reword its comments
This commit is contained in:
@@ -36,7 +36,7 @@ test('reduces a line alike dropping every run a pass may or the first alone', ()
|
||||
)
|
||||
})
|
||||
|
||||
// Drops the first run a pass finds alone, with every misflanked highlight, and takes no cap.
|
||||
// Drops only the first run each pass finds, with every misflanked highlight, and takes no cap.
|
||||
function firstRunLine(nodes: readonly AdfNode[], container: LineContainer): Result<AdfNode[]> {
|
||||
const leaves = portableLeaves(nodes, container, [], 0)
|
||||
if (!leaves.ok) return leaves
|
||||
|
||||
Reference in New Issue
Block a user