Stefano Mioli wrote in post #1011159:
> x = 1
> case x
> when 0
> when 1
> when 1 + 0
> when 1
> end
>
> is enough to fool iseq_set_sequence(), making it print out no warnings
> at all, even though we still *do* have a duplicate 'when' clause (let
> alone that there are actually 3 duplicated clauses).
>
> I wonder if I should file a ticket.

It isn't necessarily duplicated. You might have redefined Numeric#+ to 
have a side-effect. It would be a silly thing to do, but Ruby doesn't 
know you've not done that.

-- 
Posted via http://www.ruby-forum.com/.