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

Output bug fix. #918

Merged
merged 3 commits into from
Nov 9, 2015
Merged

Output bug fix. #918

merged 3 commits into from
Nov 9, 2015

Conversation

enkessler
Copy link
Contributor

Fixed a bug that was causing the delayed output of #puts calls to be
affected by modifications to its arguments that occurred between the
time #puts was called and the time that its output was actually
displayed.

Fixes #915.

Fixed a bug that was causing the delayed output of #puts calls to be
affected by modifications to its arguments that occurred between the
time #puts was called and the time that its output was actually
displayed.
@enkessler
Copy link
Contributor Author

On second thought, duplication via marshaling may have more problems than the test failure caused by #dup/#clone because it can't apply to all objects.

Simpler and works on all objects.
#to_s won't work because it will simply return the original string if
called on a String object, thus not achieving the point of the bug
fix, which is to obtain a new copy of the object.
@enkessler
Copy link
Contributor Author

This should do the trick to fix #915 .

@brasmusson brasmusson merged commit a6a6c25 into cucumber:master Nov 9, 2015
brasmusson added a commit that referenced this pull request Nov 9, 2015
@brasmusson
Copy link
Contributor

Merged. I added a spec in d5e0cfa.

@enkessler I tip for PR:s that fixes issues it to include "fixes #<nr>" (of any of the other keywords for closing issue) in the PR description (as I added in the description above), then GitHub will close the issue when the PR is merged.

@lock
Copy link

lock bot commented Oct 25, 2018

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@lock lock bot locked as resolved and limited conversation to collaborators Oct 25, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants