Skip to content

Don't use nil tests for strings. #35

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

gsmecher
Copy link

@gsmecher gsmecher commented Sep 6, 2022

This has been deprecated since Nim 0.19.0. Quoth the ChangeLog: [1]

nil for strings/seqs is finally gone. Instead the default value for
these is "" / @[]. Use --nilseqs:on for a transition period.

[1] https://github.com/nim-lang/Nim/blob/devel/changelogs/changelog_0_19_0.md

This has been deprecated since Nim 0.19.0. Quoth the ChangeLog: [1]

    nil for strings/seqs is finally gone. Instead the default value for
    these is "" / @[]. Use --nilseqs:on for a transition period.

[1] https://github.com/nim-lang/Nim/blob/devel/changelogs/changelog_0_19_0.md
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