[MacRuby-devel] [MacRuby] #322: Instance variable memory layout error
MacRuby
ruby-noreply at macosforge.org
Wed Sep 2 05:48:50 PDT 2009
#322: Instance variable memory layout error
------------------------+---------------------------------------------------
Reporter: dev@… | Owner: lsansonetti@…
Type: defect | Status: new
Priority: critical | Milestone: MacRuby 0.5
Component: MacRuby | Keywords:
------------------------+---------------------------------------------------
{{{
macruby -e "class C; def m; @v1 = @v2 = @v3 = @v4 = @v5 = @v6 = @v7 = @v8
= @v9 = @v10 = 0; end; def test; p @oops; end; end; c = C.new.test"
}}}
gives a false instead of nil!
If I use less than 10 variables everything is fine, so I suppose that this
is a (serious) memory layout problem!
I am on OS 10.5.7 with MacRuby r2454.
--
Ticket URL: <http://www.macruby.org/trac/ticket/322>
MacRuby <http://macruby.org/>
More information about the MacRuby-devel
mailing list