[MacRuby-devel] [MacRuby] #189: Bugs with: Class#dup & Object#dup
MacRuby
ruby-noreply at macosforge.org
Wed Dec 24 02:59:55 PST 2008
#189: Bugs with: Class#dup & Object#dup
-------------------------------------+--------------------------------------
Reporter: eloy.de.enige@… | Owner: lsansonetti@…
Type: defect | Status: new
Priority: blocker | Milestone:
Component: MacRuby | Keywords:
-------------------------------------+--------------------------------------
Added test cases for these issues to known_bugs.rb:
http://www.macruby.org/trac/changeset/770/MacRuby
Object#dup apparently tries to use NSObject#copyWithZone internally which
fails because Object doesn't implement it.
Class#dup simply returns a pointer to the original class instance.
Using #clone does work though.
--
Ticket URL: <http://www.macruby.org/trac/ticket/189>
MacRuby <http://macruby.org/>
More information about the MacRuby-devel
mailing list