Hi,

At Tue, 4 Dec 2007 23:52:05 +0900,
Yusuke ENDOH wrote in [ruby-core:13879]:
> > > > Anyway, don't you have commit access yet?
> > >
> > > No, I don't.
> >
> > You should have, I guess.
> 
> Thanks, I'd like to take one, if it's free :)  Who should I
> contact?

Matz and Shugo.

> > Non-nil result of rb_check_array_type() doesn't mean the
> > argument is an Array always.  It may invoke to_ary method and
> > return the result.  So you should not discard the result too.
> 
> Wow, I didn't know that flatten flattened so much!  Sorry for my
> silly patch, but the function name `rb_check_array_type' sounds
> confusing a little :P

`array_type' here means an array compatible object, an Array,
an instance of a subclass of Array, or convertible with to_ary
method.  To check if `ary' is an Array or its subclass instance
is rb_is_kind_of(ary, rb_cArray) or, TYPE(ary) == T_ARRAY.

-- 
Nobu Nakada