We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
What are your expected behavior and actual behavior of your environment?
Not sure why, but when you enter an IRB session and type the literal characters: /, \, u, { it hangs indefinitely and the process must be killed.
/
\
u
{
Please paste the result of irb_info command in IRB.
irb_info
irb(main):001:0> irb_info => Ruby version: 3.2.0 IRB version: irb 1.8.1 (2023-09-04) InputMethod: RelineInputMethod with Reline 0.3.8 RUBY_PLATFORM: arm64-darwin22 LANG env: en_US.UTF-8 East Asian Ambiguous Width: 1
What's your terminal emulator?
MacOS terminal with zsh
Are you using ~/.irbrc and ~/.inputrc?
~/.irbrc
~/.inputrc
No
The text was updated successfully, but these errors were encountered:
#620 It's ruby's bug and fixed in 3.3.0dev https://bugs.ruby-lang.org/issues/19750
All of these hangs up, and it's hard to avoid in IRB side.
RubyVM::AbstractSyntaxTree.parse "/\\u{\n" # not used in IRB RubyVM::InstructionSequence.compile "/\\u{\n" # code termination check Ripper.lex "/\\u{\n" # coloring, indent calculation, prompt calculation Ripper.sexp "/\\u{\n" # command execution, assignment expression check
Sorry, something went wrong.
Oh sorry I didn't find that it had been reported before. No worries.
No branches or pull requests
Description
Not sure why, but when you enter an IRB session and type the literal characters:
/
,\
,u
,{
it hangs indefinitely and the process must be killed.Result of irb_info
Terminal Emulator
MacOS terminal with zsh
Setting Files
No
The text was updated successfully, but these errors were encountered: