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

Remove string == nil/nil == string error #20222

Merged
merged 2 commits into from
Aug 21, 2022
Merged

Conversation

metagn
Copy link
Collaborator

@metagn metagn commented Aug 14, 2022

following up #17211

This was to help migration for nil strings being removed, but nil strings have been gone for a while now.

This was to help migration for `nil` strings being removed, but `nil` strings have been gone for a while now.
@Varriount Varriount added the Requires Araq To Merge PR should only be merged by Araq label Aug 19, 2022
@Varriount Varriount requested a review from Araq August 19, 2022 19:47
@metagn
Copy link
Collaborator Author

metagn commented Aug 20, 2022

To be clear, this is cleanup, these procs are custom errors for nil seqs and strings that might confuse people in system docs, as nil seqs and strings were removed a while ago (see linked PR). Shouldn't need a thorough review.

@Varriount Varriount merged commit 1b61e71 into nim-lang:devel Aug 21, 2022
@github-actions
Copy link
Contributor

Thanks for your hard work on this PR!
The lines below are statistics of the Nim compiler built from 1b61e71

Hint: mm: orc; threads: on; opt: speed; options: -d:release
163620 lines; 12.308s; 841.82MiB peakmem

capocasa pushed a commit to capocasa/Nim that referenced this pull request Mar 31, 2023
* Remove string == nil/nil == string error

This was to help migration for `nil` strings being removed, but `nil` strings have been gone for a while now.

* remove isNil too
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Requires Araq To Merge PR should only be merged by Araq
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants