From: Jonatan Hejzlar Date: 2011-10-13T22:37:35+09:00 Subject: [ruby-core:40136] [Ruby 1.9 - Bug #5442] heredoc inside Hash initialization Issue #5442 has been updated by Jonatan Hejzlar. I see, thanks ---------------------------------------- Bug #5442: heredoc inside Hash initialization http://redmine.ruby-lang.org/issues/5442 Author: Jonatan Hejzlar Status: Rejected Priority: Normal Assignee: Category: Target version: ruby -v: 1.9.2p290 (2011-07-09 revision 32553) Shouldn't this initialization be valid? Hash[:a,<<-EOS some text EOS ,:b,'other'] gives the following error syntax error, unexpected ',', expecting ']' -- http://redmine.ruby-lang.org