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

OptionParser: don't call handler if value is given to none value handler #9603

Merged
merged 1 commit into from
Jul 21, 2020

Conversation

makenowjust
Copy link
Contributor

Fixed #9553

It is regression fix. Before 0.34.0 (or #9009), it worked in this way.

Fixed crystal-lang#9553

It is regression fix. Before 0.34.0, it worked in this way.
@makenowjust
Copy link
Contributor Author

macOS CI is failed on brew install ¯\_(ツ)_/¯

Copy link
Member

@asterite asterite left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

@asterite asterite requested review from bcardiff and waj July 15, 2020 12:11
@asterite asterite added kind:bug A bug in the code. Does not apply to documentation, specs, etc. topic:stdlib labels Jul 21, 2020
@asterite asterite added this to the 1.0.0 milestone Jul 21, 2020
@asterite asterite merged commit 64ff87f into crystal-lang:master Jul 21, 2020
@makenowjust makenowjust deleted the fix-9553 branch July 21, 2020 15:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind:bug A bug in the code. Does not apply to documentation, specs, etc. topic:stdlib
Projects
None yet
Development

Successfully merging this pull request may close these issues.

The behavior of OptionParser is different between versions 0.34.0 and 0.35.0 and later.
3 participants