diff options
author | Teddy Wing | 2023-05-21 18:21:06 +0200 |
---|---|---|
committer | Teddy Wing | 2023-05-21 18:21:06 +0200 |
commit | 63a5452af97b6173fb17f754ce7ca3bce8e9729d (patch) | |
tree | 7234e0e4b63e1f53d4781f7bdfe7ad2db4517d51 /testdata/declared_errors.go | |
parent | c7eecf566b9e0272576055c05f38897954de7aa9 (diff) | |
download | godefererr-63a5452af97b6173fb17f754ce7ca3bce8e9729d.tar.bz2 |
Inspect return value looking at type and name
Want to check that the `return` statement uses the same variable used in
the `defer` closure. Start inspecting the values to figure out how we
can narrow that down.
Add a test case for a "good" assignment of a returned error in `defer`.
Diffstat (limited to 'testdata/declared_errors.go')
0 files changed, 0 insertions, 0 deletions