-
-
Notifications
You must be signed in to change notification settings - Fork 443
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
Does not pass nilness analyzer #507
Comments
Hi @uhthomas thanks for bringing this tool to our attention. |
Hey @fenollp, that is strange. It looks like golang/go#31008 is the correct issue for this. Funnily enough, this repository is mentioned in a linked issue bazel-contrib/rules_go#2480. The culprit is a nil check in kin-openapi/openapi3/schema.go Lines 798 to 799 in 590c85c
The nilness analzyer passes when these two lines are removed. I think #510 is a good idea, but it might be even better to use golangci-lint. What do you think? Hope this helps! :) |
Thanks for finding the right issue and root causing this. I'm down to add more linters and golangcilint is a good collection but false positives waste too much time. |
The package does not pass the nilness analyzer.
It would be nice to fix this :)
The text was updated successfully, but these errors were encountered: