[MacRuby] #1230: Assert fails when calls "binding" with Object#send.
#1230: Assert fails when calls "binding" with Object#send. ----------------------------------+----------------------------------------- Reporter: watson1978@… | Owner: lsansonetti@… Type: defect | Status: new Priority: minor | Milestone: Component: MacRuby | Keywords: ----------------------------------+----------------------------------------- Test Script: {{{ #!ruby obj = Object.new p obj.send(:binding) }}} Result {{{ $ ruby19 t.rb #<Binding:0x0000010086e088> $ macruby t.rb Assertion failed: (bind != NULL), function rb_binding_new, file proc.c, line 229. zsh: abort macruby t.rb }}} -- Ticket URL: <http://www.macruby.org/trac/ticket/1230> MacRuby <http://macruby.org/>
#1230: Assert fails when calls "binding" with Object#send. ----------------------------------+----------------------------------------- Reporter: watson1978@… | Owner: lsansonetti@… Type: defect | Status: new Priority: minor | Milestone: MacRuby Later Component: MacRuby | Keywords: ----------------------------------+----------------------------------------- Changes (by lsansonetti@…): * milestone: => MacRuby Later Comment: I changed MacRuby to not crash when this happens, but raise an exception instead, in https://github.com/MacRuby/MacRuby/commit/cff48f62d3c9e4b5854ba579afd54338a6... The ticket is still not resolved, but it's less scary now. Moving to Later component. -- Ticket URL: <http://www.macruby.org/trac/ticket/1230#comment:1> MacRuby <http://macruby.org/>
participants (1)
-
MacRuby