From: Tim Hunter Date: 2002-12-25T04:39:04+09:00 Subject: rescue statement modifier behavior change in 1.8.0 So I'm spending my Christmas Eve trying out new versions of Ruby. What a Christmas present! The following program works without error in 1.6.8. With the 1.8.0preview1, the rescue statement modifier doesn't catch the IndexError. The program terminates with the message: [tim:~]$ ruby foo.rb foo.rb:4:in `bar=': bar too big (IndexError) from foo.rb:16 Is this a deliberate change in behavior? Here's the program: class Foo def bar=(b) if b > 10 raise IndexError, "bar too big" end end end foo = Foo.new begin foo.bar = 11 rescue foo.bar=10 end foo.bar = 11 rescue 10 exit