4c - the guard's spread was a class: the code block's held lines and a mark run's segments too
This commit is contained in:
@@ -166,7 +166,7 @@ function emitRun(nodes: readonly AdfNode[], depth: number, firstIndex: number, c
|
||||
const emitted = run.kind === 'plain' ? emitLeaf(run.node, runContext, run.index) : emitMarkedRun(run.nodes, run.mark, depth, run.index, runContext)
|
||||
if (!emitted.ok) return emitted
|
||||
if (emitted.value.carry !== undefined) return emitted
|
||||
segments.push(...emitted.value.segments)
|
||||
for (const segment of emitted.value.segments) segments.push(segment)
|
||||
}
|
||||
return success({ segments })
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user