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

i know the "pass sync.mutex by value" error was diagnosed by my linter, but are there any plan to fix all those issues in the go compiler itself ?

Thoses are really bad footguns.




Although `go vet` is nominally a linter it's probably more accurate in relation to other languages to think of it as `-Werror`. Everything it reports should be considered a serious issue, and it runs by default during `go test`. They haven't been moved to the compiler proper out of back-compat concerns (but lately even some of those are being overridden for very pathological things like int/string conversion).




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

Search: