Reference sigils follow the filesystem: / the root, . this folder, .. the folder above
Tests / vet + fmt + tests (pull_request) Successful in 53s

This commit is contained in:
2026-09-02 18:26:02 +02:00
parent 5d1e567b8d
commit 1bf5470c6f
7 changed files with 169 additions and 78 deletions
+2 -4
View File
@@ -129,10 +129,8 @@ func transformArg(fields map[string]node, a []string) error {
return err
}
if isRef(leaf) {
if leaf == refPrefix {
return fmt.Errorf("reference has no path")
}
return nil
_, _, err := refShape(leaf)
return err
}
return checkArm(leaf, fields)
}