Actions
Bug #5442
closedheredoc inside Hash initialization
Status:
Rejected
Assignee:
-
Target version:
-
ruby -v:
1.9.2p290 (2011-07-09 revision 32553)
Backport:
Description
Shouldn't this initialization be valid?
Hash[:a,<<-EOS
some text
EOS
,:b,'other']
gives the following error
syntax error, unexpected ',', expecting ']'
Actions
Like0
Like0Like0