github-vet / github-vet/bots

loopclosure-like analysis within every function that accepts a pointer and starts a goroutine

Open
#110 0 comments 0 reactions 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.