We should log the NodeRef we're trying to match in ast, so we can pass --debug to the linter and have the debug representation of the node printed to stderr. This is probably a nice thing to have in other places too, but I found that I locally add a print there from time to time, since using the debugger on the 200-variant enum isn't very useful, so this place in particular is important. Probably also when we mutate the TransactionState in the linter in any way.
We should log the
NodeRef
we're trying to match inast
, so we can pass--debug
to the linter and have the debug representation of the node printed to stderr. This is probably a nice thing to have in other places too, but I found that I locally add a print there from time to time, since using the debugger on the 200-variant enum isn't very useful, so this place in particular is important. Probably also when we mutate theTransactionState
in the linter in any way.