-
-
Notifications
You must be signed in to change notification settings - Fork 7.5k
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
Unable to detect nil
explicitly in where func
#6015
Labels
Milestone
Comments
bep
changed the title
Unable to detect
Unable to detect Jun 3, 2019
nil
explicitly in conditionalsnil
explicitly in where func
This code:
should only produce lines ending with git clone --single-branch -b hugo-github-issue-6015 https://github.com/jmooring/hugo-testing hugo-github-issue-6015
cd hugo-github-issue-6015
hugo server |
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Originally opened as #5905. The fix implemented in 66b143a doesn't seem to fix the issue.
The below code:
yields many lines with
<nil> false
, meaningnil != nil
in botheq
andwhere
. The pages affected seem to all be either taxonomy / taxonomy terms.My current fix is to do:
Which makes me think it is probably caused by the fun which is
nil
equality checking in Go!Running Hugo Static Site Generator v0.55.6/extended linux/amd64 BuildDate: unknown
The text was updated successfully, but these errors were encountered: