Actions
Bug #19611
closedRuby hangs up with `while true && true`
Status:
Closed
Assignee:
-
Target version:
-
ruby -v:
ruby 3.2.0 (2022-12-25 revision a528908271) +YJIT [x86_64-darwin20]
Description
Fails to run this code. It hangs up. Ctrl+C does not work.
def hoge
while true && true
end
end
Compiling while true && true; end
will also hangs up
irb(main):001:0> RubyVM::InstructionSequence.compile 'while true && true; end'; puts :done
(no response)
Actions
Like0
Like0Like0Like0Like0Like0Like0