Keep the transform's arity inside its operand func, skip calls in compileWhole's column check, and file the two tokens for renaming

This commit is contained in:
2026-09-24 23:33:05 +02:00
committed by Lillem4n
parent 2a7499e93c
commit bb2bbe9697
4 changed files with 11 additions and 4 deletions
+3
View File
@@ -45,6 +45,9 @@ func transformArg(fields map[string]node, a []string) error {
return checkArm(leaf, fields, false)
}
func transformOperand(a []string) []string {
if len(a) != 1 {
return nil
}
leaf, _, err := unwrapTransform(a[0])
if err != nil {
return nil