#389: unable to set ivar in a class derived from String, Array, Hash
----------------------------+-----------------------------------------------
Reporter: jazz...@… | Owner: lsansone...@…
Type: defect | Status: new
Priority: critical | Milestone: MacRuby 0.5
Component: MacRuby | Keywords:
----------------------------+-----------------------------------------------
{{{
class Foo < String
def foo
@foo = 42
@foo
end
end
p Foo.new.foo
}}}
gives a nil
Same issue with Hash and Array.
--
Ticket URL: <http://www.macruby.org/trac/ticket/389>
MacRuby <http://macruby.org/>
_______________________________________________
MacRuby-devel mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel