From b75e517bda626fade0d7e9dbcbe39f7e3ec11da1 Mon Sep 17 00:00:00 2001 From: Lilleman auf Larv Date: Tue, 29 Sep 2026 11:42:43 +0200 Subject: [PATCH] Name resolveLink as what proves splitArm's reference, and the tail it takes --- format.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/format.go b/format.go index 415d80e..ae043e3 100644 --- a/format.go +++ b/format.go @@ -326,7 +326,7 @@ func splitArm(name string, refs map[string]refBinding) arm { } return arm{spelling: name, head: head, path: head} } - sigil, rest, _ := refShape(name) // linkRefs proved it + sigil, rest, _ := refShape(name) // resolveLink proved it, and took b.tail as a suffix of its segments written, _ := splitPath(rest) return pathArm(name, b.head, sigil+joinSegments(written[:len(written)-len(b.tail)]), b.tail) }