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

Reply via email to