Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Warn against reading from a closed channel #2845

Open
dlsniper opened this issue Dec 9, 2016 · 0 comments
Open

Warn against reading from a closed channel #2845

dlsniper opened this issue Dec 9, 2016 · 0 comments

Comments

@dlsniper
Copy link
Member

dlsniper commented Dec 9, 2016

When the plugin will get more advanced functionality for flow analysis, a possible inspection to have would be detecting reads from channels that can be closed or writes on channels that are closed in other functions.
I'll follow up with examples of such code.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant