[ruby-talk:02347] Re: rb_catch

From: ts <decoux@...>
Date: 2000-04-03 10:09:10 UTC
List: ruby-talk #2347
> --- /tmp/eval.c	Mon Apr  3 17:35:17 2000
> +++ eval.c	Mon Apr  3 17:22:52 2000
> @@ -7609,7 +7609,7 @@
>  catch_i(tag)
>      ID tag;
>  {
> -    return rb_funcall(Qnil, rb_intern("catch"), 0, INT2FIX(tag));
> +    return rb_funcall(Qnil, rb_intern("catch"), 1, INT2FIX(tag));
>  }

 It's a patch for 1.5, no ?


Guy Decoux

In This Thread

Prev Next