On 7/18/11 4:22 AM, Ryan Davis wrote: > > On Jul 17, 2011, at 13:37 , Stefano Mioli wrote: >> Or am I missing something? > > I don't think you're missing anything. Considering the following causes the warning as well: > > x = 1 > case x > when 1 > when 0 > when 1 > end > > I think you came up with a bug. Could you file a ticket on ruby-core's rubymine tracker? Sure thing, Ryan. I'll do that ASAP (tomorrow, most probably). I still wasn't 100% convinced, but since I'm fairly new to Ruby... -- Stefano Mioli