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
The text was updated successfully, but these errors were encountered:
minux
changed the title
go/ast: Is incorrect for ast.Inspect invokes f for the nil children of node, recursively?
go/ast: incorrect docs for Inspect
Mar 25, 2015
f could indeed receive nil nodes, it's used to signal that one level has
completed. See the docs of Walk for details.
I think the docs of Inspect should mirror that of Walk.
/cc @griesemer
I am not good in Engilsh.
The documents of ast.Inspect says:
see the play http://play.golang.org/p/HID53LSwv_
The text was updated successfully, but these errors were encountered: