Actions
Bug #2403
closedSegment fault when converting method to block
Description
=begin
When trying to convert a method to a block with the ampersand operator, I get a segfault. I'm on Ubuntu, ruby from packages (see version).
Test code: http://www.pastie.org/714918
Temp. fix: change &:metoda to &method(:metoda)
Error output:
test.rb:10: [BUG] Segmentation fault
ruby 1.8.7 (2008-08-11 patchlevel 72) [i486-linux]
Aborted
=end
Updated by ujihisa (Tatsuhiro Ujihisa) almost 15 years ago
- Status changed from Open to Assigned
- Assignee set to nobu (Nobuyoshi Nakada)
=begin
=end
Updated by nobu (Nobuyoshi Nakada) almost 15 years ago
- Status changed from Assigned to Closed
=begin
Already fixed in 1.8.7 (2009-02-19 patchlevel 128).
=end
Actions
Like0
Like0Like0