We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Playing with the new vet, I found the following issue:
vet
$ vet ./... /Users/dgryski/go/src/github.com/dgraph-io/dgraph/query/query.go:544:16: impossible condition: nil != nil
The line is https://github.com/dgraph-io/dgraph/blob/master/query/query.go#L544 , and facetsNode has not been assigned a value between declaration on line 384 and the if test, so it's always nil.
facetsNode
The text was updated successfully, but these errors were encountered:
Hi, which new vet is this? We use the vet tool that comes with Go.
Sorry, something went wrong.
It was just merged into master.
https://go-review.googlesource.com/c/go/+/149609/
Thanks for catching this, @dgryski ! Seems like a bug at our end.
srfrog
No branches or pull requests
Playing with the new
vet
, I found the following issue:The line is https://github.com/dgraph-io/dgraph/blob/master/query/query.go#L544 , and
facetsNode
has not been assigned a value between declaration on line 384 and the if test, so it's always nil.The text was updated successfully, but these errors were encountered: