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