[MacRuby] #1102: segfault when trying const_get on unitialized constant with rspec2
MacRuby
ruby-noreply at macosforge.org
Thu Jan 6 18:30:24 PST 2011
#1102: segfault when trying const_get on unitialized constant with rspec2
------------------------------------+---------------------------------------
Reporter: mrada@… | Owner: lsansonetti@…
Type: defect | Status: new
Priority: blocker | Milestone:
Component: MacRuby | Keywords:
------------------------------------+---------------------------------------
Comment(by lsansonetti@…):
Here is a reduction:
{{{
$ cat t2.rb
module M1
def const_missing(name)
p :M1_const_missing
super
end
end
module M2
def const_missing(name)
p :M2_const_missing
super
end
end
Object.extend(M1)
Object.extend(M2)
OMG
}}}
--
Ticket URL: <http://www.macruby.org/trac/ticket/1102#comment:2>
MacRuby <http://macruby.org/>
More information about the macruby-tickets
mailing list