Hi,

In message "Big problem with debian ruby 1.8.0-1"
    on 03/10/06, Ferenc Engard <ferenc / engard.hu> writes:

|I have just upgraded ruby on my debian unstable to ruby 1.8.0-1
|(2003-10-05), and my program has crashed. Here is the stripped down
|version of my code:

A bug.

--- eval.c	5 Oct 2003 14:07:07 -0000	1.549
+++ eval.c	6 Oct 2003 00:33:39 -0000
@@ -6930,3 +6930,3 @@ proc_alloc(klass, proc)
 
-    if (!proc && ruby_block->block_obj) {
+    if (!proc && ruby_block->block_obj && CLASS_OF(ruby_block->block_obj) == klass) {
 	return ruby_block->block_obj;