Issue #1033 has been updated by Patrik Wenger.


The documentation of Kernel#catch says:
If found, that block is terminated, and catch returns the value given to throw.

To me, this means that the following line of code should return ":x":
catch(:x) {throw :x}

Or is the second parameter to to Kernel#throw meant by "the value given to throw"?
----------------------------------------
http://redmine.ruby-lang.org/issues/show/1033

----------------------------------------
http://redmine.ruby-lang.org