aboutsummaryrefslogtreecommitdiffstats
path: root/cmd
diff options
context:
space:
mode:
authorTeddy Wing2023-05-21 21:26:21 +0200
committerTeddy Wing2023-05-21 21:26:21 +0200
commit23c85d97f84631905109347c0454b2f70120a04b (patch)
tree5f801979632bc59eca4cc98b8831c6582a4900b8 /cmd
parent7ad57bcea66fe4c8eeff73b4087fcfd10dd5312f (diff)
downloadgodefererr-23c85d97f84631905109347c0454b2f70120a04b.tar.bz2
Check whether `return` uses error variable set in `defer`
This reports diagnostics when using `return nil` instead of `return err` when `err` is an error variable assigned in the first `defer` closure.
Diffstat (limited to 'cmd')
0 files changed, 0 insertions, 0 deletions