-
-
Notifications
You must be signed in to change notification settings - Fork 1.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
std/options
: $some(3)
is now "some(3)"
, etc.
#17147
Merged
dom96
merged 3 commits into
nim-lang:devel
from
timotheecour:pr_options_Some_some_dollar
Feb 24, 2021
Merged
std/options
: $some(3)
is now "some(3)"
, etc.
#17147
dom96
merged 3 commits into
nim-lang:devel
from
timotheecour:pr_options_Some_some_dollar
Feb 24, 2021
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 task
$some(3)
is now "some(3)"
, etc.std/options
: $some(3)
is now "some(3)"
, etc.
Regarding EDIT(timotheecour): let's followup discussing fusion/matching renaming Some, None to some, none in here: timotheecour#612 |
…s now `"none(int)"` instead of `"None[int]"`
853d5ad
to
2273564
Compare
ringabout
approved these changes
Feb 23, 2021
dom96
approved these changes
Feb 24, 2021
timotheecour
added a commit
to timotheecour/nim-optionsutils
that referenced
this pull request
Feb 25, 2021
PMunch
pushed a commit
to PMunch/nim-optionsutils
that referenced
this pull request
Mar 2, 2021
ringabout
pushed a commit
to ringabout/Nim
that referenced
this pull request
Mar 22, 2021
* std/options: $some(3) is now "some(3)", not "Some(3)", `$none(int)` is now `"none(int)"` instead of `"None[int]"` * fix tests * disable optionsutils
ardek66
pushed a commit
to ardek66/Nim
that referenced
this pull request
Mar 26, 2021
* std/options: $some(3) is now "some(3)", not "Some(3)", `$none(int)` is now `"none(int)"` instead of `"None[int]"` * fix tests * disable optionsutils
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
refs #17036 (comment)
$none(int)
is now"none(int)"
instead of"None[int]"
-dnimLagacyOptionsDollar
for previous behavior.rationale:
Some(3)
would imply you'd have a typeSome
, but thenSome(3)
syntax would be illegalnote
I've disabled
optionsutils
which had a failing test due to this change:Future work
=> re-enable pkg optionsutils #17231
fusion/matching
should also use some and none instead of Some and None:=> this:
(EDIT: followup discussing this point here: timotheecour#612)