From: Alexander Kellett Date: 2005-02-18T03:14:26+09:00 Subject: Re: [BUG] parse error in complex heredocs i had assumed that the fact that it was a hash (my mail had mistake - '{' instead of '[' ) would make it wait for the => but was incorrect - testcase: irb(main):001:0> {5 irb(main):002:1> => 6} SyntaxError: compile error (irb):1: odd number list for Hash (irb):2: parse error => 6} ^ if this could work my test cases could look pretty :) maybe i could use "# => " instead... but not as nice :( On Feb 17, 2005, at 7:06 PM, ts wrote: >>>>>> "A" == Alexander Kellett writes: > > A> check <<-ENDTEST, [:blah > A> blah blah blah > A> ENDTEST > > You have written this > > check 'blah blah blah', [:blah > > i.e. > > check('blah blah blah', [:blah) > > > Guy Decoux > > > > >