If I've got a macro where I pass an `ident` as an argument, is it possible to
read the signature of the proc? Here is an example of what I'm trying to do:
import macros
macro examine(ident: untyped) =
ident.expectKind(nnkIdent)
# My goal is to read the list of arguments right here, but
# the following line fails with the error: "node is not a symbol"
echo ident.getImpl
# ----
proc someProc[T](arg: T) =
discard
examine(someProc)
Run
- Look up proc signature from an ident Nycto
- Look up proc signature from an ident ElegantBeef
- Look up proc signature from an ident Nycto
- Look up proc signature from an ident ElegantBeef
