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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user