You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There are certain built-in commands that interpret arguments as lists. Parsing these as List nodes would enable us to do some more sophisticated checks. In some cases, we can do argument count checks. In addition, we could report spacing violations between list items.
If we do this for proc nodes, we could also add a checker for correct arg count to procs. It wouldn't catch everything until we can follow source statements, but it'd still catch additional bugs.
The text was updated successfully, but these errors were encountered:
nmoroze
changed the title
Take advantage of list node
Parse list arguments to built-in commands as list nodes
Dec 30, 2023
There are certain built-in commands that interpret arguments as lists. Parsing these as List nodes would enable us to do some more sophisticated checks. In some cases, we can do argument count checks. In addition, we could report spacing violations between list items.
If we do this for
proc
nodes, we could also add a checker for correct arg count to procs. It wouldn't catch everything until we can followsource
statements, but it'd still catch additional bugs.The text was updated successfully, but these errors were encountered: