-
Notifications
You must be signed in to change notification settings - Fork 120
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
Crash with none array methods
variable or method.
#368
Comments
osyo-manga
added a commit
to osyo-manga/irb
that referenced
this issue
May 30, 2022
Ensure that methods are called even when local variables are defined. see: ruby#368
osyo-manga
added a commit
to osyo-manga/irb
that referenced
this issue
May 30, 2022
Ensure that methods are called even when local variables are defined. see: ruby#368
osyo-manga
added a commit
to osyo-manga/irb
that referenced
this issue
May 30, 2022
Ensure that methods are called even when local variables are defined. see: ruby#368
st0012
pushed a commit
to st0012/irb
that referenced
this issue
Sep 30, 2022
Ensure that methods are called even when local variables are defined. see: ruby#368
peterzhu2118
pushed a commit
that referenced
this issue
Oct 2, 2022
Ensure that methods are called even when local variables are defined. see: #368
matzbot
pushed a commit
to ruby/ruby
that referenced
this issue
Oct 2, 2022
Ensure that methods are called even when local variables are defined. see: ruby/irb#368 ruby/irb@c34d54b8bb
#369 was merged. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description
When I run the following code, irb crashes and exits when I enter any key.
This is happening in the following eval code.
irb/lib/irb/completion.rb
Line 362 in af99c01
Probably, it occurs when any one of
methods
private_methods
local_variables
instance_variables
does not have a#|
method.I discovered this problem when I inserted
binding.irb
into the code below.https://github.com/ruby/rbs/blob/4dc5b95c4971e7abdbbfd1304996275c8ae0f859/lib/rbs/definition_builder/method_builder.rb#L104
Result of irb_info
Terminal Emulator
iTerm2
Setting Files
No.
The text was updated successfully, but these errors were encountered: