Hacker News new | past | comments | ask | show | jobs | submit login

That second example is really surprising. This sort of thing happens all the time in production when lines get moved around. Does anyone know why errcheck misses it?



Not sure about that. But https://github.com/gordonklaus/ineffassign catches that.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: