x/sync/singleflight: hard to verify package won't crash program #60060
Labels
WaitingForInfo
Issue is not actionable because of missing required information, which needs to be provided.
Milestone
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
yes.
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
singleflight
contains ago panic(e)
line. It took a very long time to convince outselves that we wouldn't result in a program crash when usingsingleflight.Group.Do()
.What did you expect to see?
Simpler control flow and/or comments :)
What did you see instead?
The code as exists today.
The text was updated successfully, but these errors were encountered: