diff options
author | Teddy Wing | 2023-05-18 22:23:50 +0200 |
---|---|---|
committer | Teddy Wing | 2023-05-18 22:23:50 +0200 |
commit | 9993783a0d2fc7e087e6370288ed191cfa292a9f (patch) | |
tree | 25dbda318de21b80c73eb5272969c4f7844549c8 /testdata/signature.go | |
parent | 046e10da6483d05a0b16bea75baf8effa57a056d (diff) | |
download | godefererr-9993783a0d2fc7e087e6370288ed191cfa292a9f.tar.bz2 |
Use `FuncDecl` instead of `FuncType`
I didn't read the docs carefully, it turns out `FuncType` only gives us
the signature. If we want access to the function body as well to be able
to walk its AST, we need a `FuncDecl`.
Diffstat (limited to 'testdata/signature.go')
0 files changed, 0 insertions, 0 deletions