Skip to content
This repository has been archived by the owner on Mar 12, 2023. It is now read-only.

[BUG] - Ctl+d causes error #34

Closed
scottbarrow opened this issue Sep 14, 2020 · 2 comments · Fixed by #36
Closed

[BUG] - Ctl+d causes error #34

scottbarrow opened this issue Sep 14, 2020 · 2 comments · Fixed by #36
Assignees
Labels
bug Something isn't working released The issue is resolved with the newest release

Comments

@scottbarrow
Copy link

Describe the bug
Using ctrl-d (pry continue command) causes error

To Reproduce
Steps to reproduce the behavior:
1: add jard to a file
2: enter ctrl+d
Expected behavior
Program to continue

Screenshots

Control command is empty
/Users/scott/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/ruby_jard-0.3.0/lib/ruby_jard/control_flow.rb:33:in `validate!'
/Users/scott/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/ruby_jard-0.3.0/lib/ruby_jard/control_flow.rb:28:in `initialize'
/Users/scott/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/ruby_jard-0.3.0/lib/ruby_jard/control_flow.rb:53:in `new'
/Users/scott/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/ruby_jard-0.3.0/lib/ruby_jard/control_flow.rb:53:in `dispatch'
/Users/scott/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/ruby_jard-0.3.0/lib/ruby_jard/repl_proxy.rb:169:in `rescue in repl'
/Users/scott/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/ruby_jard-0.3.0/lib/ruby_jard/repl_proxy.rb:166:in `repl'
/Users/scott/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/ruby_jard-0.3.0/lib/ruby_jard/repl_processor.rb:70:in `block in process_commands'
@nguyenquangminh0711
Copy link
Owner

nguyenquangminh0711 commented Sep 14, 2020

@scottbarrow This bug is fixed in #36, and will be available in next release. In a mean time, you can use jard from master branch, or that specific commit:

gem 'ruby_jard', group: :development, git: 'https://github.com/nguyenquangminh0711/ruby_jard'
# or
gem 'ruby_jard', group: :development, git: 'https://github.com/nguyenquangminh0711/ruby_jard', ref: '13455f2813f8820e0be502552cbf6fd312b4a396'

I'll close this issue when a new version is released. Many thanks for your report ❤️

@scottbarrow
Copy link
Author

Thanks for the fast turnaround

@nguyenquangminh0711 nguyenquangminh0711 added wait for release released The issue is resolved with the newest release and removed wait for release labels Sep 20, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working released The issue is resolved with the newest release
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants