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
Actions
Like0
Like0Like0