node-subtype
The doc says:
Wrapper for ast-subtype? that returns #f rather than erroring when the given node is a bud, list, or non-node.`
But its implementation is:
(define (node-subtype? n t)
(when (not (ast-node? n))
(error 'node-subtype? "called on non-ast-node. Arguments: ~a ~a" n t))
(and (ast-node? n) (ast-subtype? n t)))
which doesn't quite match up the description.
Also, the doc says that node-subtype?
consumes one argument, while it should be two.
Edited by Sorawee Porncharoenwase