Project

General

Profile

This project is closed and read-only.

Actions

Bug #1584

closed

return from lambda within 2 procs freezes

Bug #1584: return from lambda within 2 procs freezes

Added by gleng (Glen Gerstman) over 17 years ago. Updated over 15 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)Actions
Actions

Also available in: PDF Atom