- Changed errorformat of go vet to include go build style messages in
the parsing of go vet invocations.
- With go 1.10, govet apparently now runs a "go build" to collect
information about the entire project. As a result, go vet will
now output both go build and go vet errors. Previously, only
go vet specific errors were reported.
Running "go build -o /dev/null" in a main package that lives in GOPATH
produces an error message:
build output "/dev/null" already exists and is not an object file
This issue won't be addressed on the Go side:
http://code.google.com/p/go/issues/detail?id=4851https://github.com/golang/go/issues/4851
Consequently, syntastic leaves this to the user to resolve. Set
g:syntastic_go_go_build_args to something including "-o /some/dir"
to redirect the output of "go build".
(1) Checkers now have an _exec attribute, and an accessor getExec().
(2) CreateAndRegisterChecker() initializes _exec from an optional argument
'exec'. If this argument is missing, 'name' is used instead.
(3) Functions SyntaxCheckers_*_IsAvailable() are now dictionary functions.
(4) Functions SyntaxCheckers_*_IsAvailable() are now optional. When
they are missing, they are assumed to return executable(expand(self.getExec())).
(5) Argument 'exe' of function syntastic#makeprg#build() is now optional.
If this argument is missing, expand(self.getExec()) is used to set checker
executables.
Make SyntaxCheckers_*_GetLocList() dictionary functions.
Pass a reference to the current checker to syntastic#makeprg#build().
Add an optional 'redirect' argument to CreateAndRegisterChecker().
Change the sh checker to use the new dictionary functions.
Add a new registry method getLocListRaw() (needed for the sh checker).