Skip to content

Conversation

@ono-max
Copy link
Member

@ono-max ono-max commented Sep 20, 2022

Currently, step <n>doesn't work in replay mode. This PR fixes it.

@ono-max ono-max marked this pull request as draft October 18, 2022 10:48
@ono-max ono-max marked this pull request as ready for review October 18, 2022 11:41
def step_forward iter
@index -= iter
if @index < 0
@index = 0
Copy link
Member Author

@ono-max ono-max Oct 18, 2022

Choose a reason for hiding this comment

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

When n of "step " is larger than current @index, @index will be 0.

@ko1 ko1 merged commit eeb5bb6 into ruby:master Nov 1, 2022
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