Skip to content

Conversation

encyphered
Copy link
Contributor

Ruby 1.8 does not support default value in block arguments. I have no idea about the project is still support Ruby 1.8, but when notify_dispatcher_if_needed method yield, the 2nd argument that named port_changed cannot be nil. So, I've removed setting false as the default value of an argument.

@valich
Copy link
Contributor

valich commented Jul 6, 2018

@encyphered We do not add new functionality to older rubies if there are incompatibility difficulties, but we try to make the existing features work properly.
Thanks, this fix looks correct.

@valich valich merged commit 235f8fa into ruby-debug:master Jul 6, 2018
@encyphered encyphered deleted the ruby1.8-fix branch March 14, 2019 11:44
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.

2 participants