[MacRuby-devel] [MacRuby] #779: Segfault occurs when use Struct which set Struct's instance to member.
MacRuby
ruby-noreply at macosforge.org
Wed Aug 4 17:28:21 PDT 2010
#779: Segfault occurs when use Struct which set Struct's instance to member.
----------------------------------+-----------------------------------------
Reporter: watson1978@… | Owner: lsansonetti@…
Type: defect | Status: closed
Priority: blocker | Milestone: MacRuby 0.7
Component: MacRuby | Resolution: fixed
Keywords: |
----------------------------------+-----------------------------------------
Comment(by watson1978@…):
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/>
More information about the MacRuby-devel
mailing list