Project

General

Profile

Actions

Bug #1584

closed

return from lambda within 2 procs freezes

Added by gleng (Glen Gerstman) almost 15 years ago. Updated almost 13 years ago.

Status:
Closed
Assignee:
-
ruby -v:
ruby 1.9.1p0 (2009-01-30 revision 21907) [i386-mswin32]
[ruby-core:23736]

Description

=begin
I hope this is where to post this?

This will freeze(full cpu) before the end.

puts 'begin'
->{proc{proc{return}.call}.call}.call
puts 'end'
=end


Related issues 1 (0 open1 closed)

Has duplicate Backport191 - Bug #2692: Ruby hangs after returning from rescue clause inside the blockClosedko1 (Koichi Sasada)01/30/2010Actions
Actions

Also available in: Atom PDF

Like0
Like0Like0Like0