Skip to content
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

use JsonNode.isNil rather than == nil to work around Nim issues #167

Merged
merged 1 commit into from
Jul 12, 2023
Merged

Conversation

tersec
Copy link
Contributor

@tersec tersec commented Jul 11, 2023

nim-lang/Nim#22253 and nim-lang/Nim#22254 in particular

That said, in this case, because JsonNode defines a fairly heavyweight == operator, whereas this needs only to check a more specific condition, using isNil is probably better here regardless.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant