From: Jonatan Hejzlar Date: 2011-10-13T22:06:28+09:00 Subject: [ruby-core:40134] [Ruby 1.9 - Bug #5442][Open] heredoc inside Hash initialization Issue #5442 has been reported by Jonatan Hejzlar. ---------------------------------------- Bug #5442: heredoc inside Hash initialization http://redmine.ruby-lang.org/issues/5442 Author: Jonatan Hejzlar Status: Open 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