Age | Commit message (Collapse) | Author | |
---|---|---|---|
2023-05-21 | Add test to ensure error vars declared in defer closure are not reported | Teddy Wing | |
2023-05-20 | Report when error declaration in signature is needed | Teddy Wing | |
While looking at the assignments in the `defer`, if we encounter an `error`-type assignment, emit a diagnostic if the error named in the lhs of the assignment is not present in the return signature's names. Not sure if this makes sense to me yet. I probably only want to report a problem for a non-declare assignment of an error value when the error type in the return signature is _not_ named at all. | |||
2023-05-20 | Find function signature return value names | Teddy Wing | |
And add a test function that does have named returned values. | |||
2023-05-18 | Ideas for an analyser for returning errors from defer | Teddy Wing | |
Still working out how to traverse the AST to be able to see the objects I need. |