Quoteing matz / ruby-lang.org, on Tue, Nov 30, 2004 at 08:32:04AM +0900:
> Hi,
> 
> In message "Re: Another improved error message request"
>     on Tue, 30 Nov 2004 03:17:57 +0900, "DaZoner" <bugmenot / world.com> writes:
> 
> |It would be nice if this code:
> |
> |100.times | i |
> |  puts i
> |end
> 
> The point is that
> 
>   100.times | i | puts
> 
> is totally valid syntax.  It is very hard for a parser to detect this
> type of error.  If anyone comes up with an idea, please tell me.

It is? Well, you would know... :-) but I'm confused!

$ irb18
irb(main):001:0> 100.times | i | puts
LocalJumpError: no block given
        from (irb):1:in `times'
        from (irb):1

I'm building again, maybe my 1.8 is too far out of date.

Cheers,
Sam