#661: [NSUndoManager um.prepareWithInvocationTarget:] is broken -----------------------------------+---------------------------------------- Reporter: lsansone...@… | Owner: lsansone...@… Type: defect | Status: new Priority: blocker | Milestone: MacRuby 0.6 Component: MacRuby | Keywords: -----------------------------------+---------------------------------------- Looks like NSUndoManager's proxy functionality is broken with trunk. This used to work before, unfortunately since the spec got tagged we did not see the regression.
Here is a reduction from the spec: {{{ framework 'Foundation' um = NSUndoManager.new p um.object_id $ary = [] class Foo def foo $ary << 42 end end o = Foo.new p o.object_id um.prepareWithInvocationTarget(o).foo p $ary um.undo p $ary }}} -- Ticket URL: <http://www.macruby.org/trac/ticket/661> MacRuby <http://macruby.org/> _______________________________________________ MacRuby-devel mailing list MacRuby-devel@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel