[MacRuby-devel] Double module included
Mark Rada
mrada at marketcircle.com
Thu May 10 14:59:08 PDT 2012
Hi Dave,
Yes, this is a known bug in MacRuby.
Here is the open ticket: http://www.macruby.org/trac/ticket/1403
Cheers,
Mark
On 2012-05-10, at 5:09 PM, Dave Lee wrote:
> Hi,
>
> Can anyone tell me, is this a MacRuby bug?
>
> module A; end
> module B; include A; end
> class C; include B; end
> p C.ancestors
>
> in Ruby 1.9.3 the results are:
>
> [C, B, A, Object, Kernel, BasicObject]
>
> and in MacRuby 0.11 the results are:
>
> [C, B, A, A, NSObject, Kernel]
>
> Why is the A module included twice?
>
> thanks,
> Dave
>
>
> _______________________________________________
> MacRuby-devel mailing list
> MacRuby-devel at lists.macosforge.org
> http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
More information about the MacRuby-devel
mailing list