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

Bug17564 exit after source #177

Merged
merged 3 commits into from
Jan 27, 2021
Merged

Conversation

no6v
Copy link
Contributor

@no6v no6v commented Jan 22, 2021

[Bug #17564] https://bugs.ruby-lang.org/issues/17564

Although some documents in particular IRB::FileInputMethod should be updated, would you please confirm this?

* tweak some methods not to raise exception after `#close`
* use it in `IRB::IrbLoader#{source_file,load_file}
* using the appropriciate exception instead of `break` so that the session
  can be continue after the `irb_source` and `irb_load` commands
* suppress extra new line due to one more `#prompt` call
@no6v
Copy link
Contributor Author

no6v commented Jan 22, 2021

Hmm, the test results are different from my local environment, fixing...

@aycabta aycabta merged commit 7248da8 into ruby:master Jan 27, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants