loopclosure-like analysis within every function that accepts a pointer and starts a goroutine
Open
enhancement
false-positive
vet-bot
- Dominant language
- Go
- Stars
- 1
- Forks
- 1
- PR merge metrics
- No merged PRs in 30d
Description
Checking each function that starts a goroutine and accepts a pointer using an analysis very much like loopclosure, exchanging range-loop variables for pointer arguments. This would tell us if the pointer argument is actually referred to inside the goroutine.
This could be a stepping-stone along the way to #28; and would be helpful even without it.
Contributor guide
Assessment
This issue has not been assessed yet.