Hi,

I just found the following bug in 1.9:

case false
when 1
   puts 1
else
   case
   when true
     puts "expected"
   end
end

should print "expected", but it doesn't, because this code is parsed to  
the same AST as

case false
when 1
   puts 1
when true
   puts "expected"
end

which doesn't (and shouldn't) print "expected".

It works in 1.8, because there is an additional NODE_NEWLINE in the AST.


Dominik