#779: Segfault occurs when use Struct which set Struct's instance to member.
----------------------------------+-----------------------------------------
Reporter: watson1...@… | Owner: lsansone...@…
Type: defect | Status: closed
Priority: blocker | Milestone: MacRuby 0.7
Component: MacRuby | Resolution: fixed
Keywords: |
----------------------------------+-----------------------------------------
Comment(by watson1...@…):
When used "eql?", Segfault still occurs.
{{{
$ 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.eql? y
}}}
--
Ticket URL: <http://www.macruby.org/trac/ticket/779#comment:2>
MacRuby <http://macruby.org/>
_______________________________________________
MacRuby-devel mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel