Thanks for the report, I added your snippet in our test suite.
At a glance it looks like an infinite loop in the dispatcher.
Definitely a bug :)
Laurent
On Oct 5, 2009, at 6:37 PM, Michael Shapiro wrote:
Hi all,
I searched a few months of the list archives and trac, but wasn't
able to
What should be the exact output? In Ruby 1.9.1, I see the following output:
$ ruby test.rb
A
B
C
D
Note: When class.new is called allocate method is called. Then the
object's initialize method is called and the
instance is returned to the caller.
$ macruby test.rb
HasInit
A
HasInit
On Oct 5, 2009, at 8:01 PM, Conrad Taylor wrote:
What should be the exact output? In Ruby 1.9.1, I see the following
output:
$ ruby test.rb
A
B
C
D
[snip]
#init is actually a NSObject thing. MacRuby's default initializer
calls it.
The mainstream Ruby doesn't, which explains your