#779: Segfault occurs when use Struct which set Struct's instance to member. ----------------------------------+----------------------------------------- Reporter: watson1...@… | Owner: lsansone...@… Type: defect | Status: new Priority: blocker | Milestone: Component: MacRuby | Keywords: ----------------------------------+----------------------------------------- Test Script: {{{ $ cat test_struct.rb klass = Struct.new(:a, :b, :c)
x = klass.new(1, 2, nil) y = klass.new(1, 2, nil) x.c = y y.c = x p x == y }}} Result of Ruby 1.9.1: {{{ $ ruby test_struct.rb true }}} Result of MacRuby Trunk: {{{ $ macruby test_struct.rb zsh: segmentation fault macruby test_struct.rb }}} -- Ticket URL: <http://www.macruby.org/trac/ticket/779> MacRuby <http://macruby.org/> _______________________________________________ MacRuby-devel mailing list MacRuby-devel@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel