#189: Bugs with: Class#dup & Object#dup -------------------------------------+-------------------------------------- Reporter: eloy.de.en...@… | Owner: lsansone...@… 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/> _______________________________________________ MacRuby-devel mailing list MacRuby-devel@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel