"Yukihiro Matsumoto" <matz / ruby-lang.org> wrote in message
news:1033178494.207985.17454.nullmailer / picachu.netlab.jp...
> Hi,
>
> In message "New meta class sematics?"
>     on 02/09/28, "Christoph" <chr_news / gmx.net> writes:
>
> |with a cvs change on oct 24 ruby cannot create ``higher order''
> | meta-classes anymore. That is assuming
> |
> |class Object
> |    def meta(n= 1)
> |            if n == 0
> |               self
> |            else
> |              class << self; self end.meta(n-1)
> |           end
> |    end
> |end
> |
> |# then
> |
> |klass.meta(n) == klass.meta(1) # true
>
> I didn't make any change related to metaclass on Oct 24 last year.
> You mean Sep 4, maybe?

Sorry for begin my confused self. I miss-read the date
(I was using cvs -web)

>
> Since then, I fixed several bugs, so that

Thanks!

>
>   for n in 1..5
>     p String.meta(n) == String.meta(1)
>   end
>
> prints
>
>   true
>   false
>   false
>   false
>   false

Yes that is okay - with  the seb-27 I get the same
thing (with seb -23 it was true, true, true,  ... ).


/Christoph