[MacRuby] #1064: Segfault occurs when use a clone object with OpenStruct.
MacRuby
ruby-noreply at macosforge.org
Sun Feb 5 01:28:36 PST 2012
#1064: Segfault occurs when use a clone object with OpenStruct.
----------------------------------+-----------------------------------------
Reporter: watson1978@… | Owner: lsansonetti@…
Type: defect | Status: closed
Priority: blocker | Milestone:
Component: MacRuby | Resolution: fixed
Keywords: |
----------------------------------+-----------------------------------------
Changes (by watson1978@…):
* status: new => closed
* resolution: => fixed
Comment:
This issue does not reproduce no longer with latest.
{{{
$ cat tt.rb
require 'ostruct'
@os = OpenStruct.new(:name => "John Smith", :age => 70, :pension => 300)
f = @os.clone
p f.age # .should == 70
$ macruby -v tt.rb
MacRuby 0.12 (ruby 1.9.2) [universal-darwin11.0, x86_64]
70
}}}
--
Ticket URL: <http://www.macruby.org/trac/ticket/1064#comment:2>
MacRuby <http://macruby.org/>
More information about the macruby-tickets
mailing list