Age | Commit message (Collapse) | Author |
|
|
|
|
|
|
|
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`.
|
|
I was having a hard time figuring out how to get the function where a
`defer` occurs from the defer, so I decided to look at all functions
first instead, and find out if they contain `defer`s.
|
|
Still working out how to traverse the AST to be able to see the objects
I need.
|
|
Idea for a new linter for ensuring errors are returned from `defer`
closures.
|