aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2023-05-19Check for error types in assignments in `defer`Teddy Wing
2023-05-19Work out how to get type name of assignments in `defer`Teddy Wing
2023-05-18Find assignments in defer closureTeddy Wing
2023-05-18Use `FuncDecl` instead of `FuncType`Teddy Wing
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`.
2023-05-18Ideas for walking functions first instead of `defer`s firstTeddy Wing
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.
2023-05-18Ideas for an analyser for returning errors from deferTeddy Wing
Still working out how to traverse the AST to be able to see the objects I need.
2023-05-16Add Idea.txtTeddy Wing
Idea for a new linter for ensuring errors are returned from `defer` closures.