[MacRuby-devel] [MacRuby] #571: #respond_to? should return false for unimplemented methods
MacRuby
ruby-noreply at macosforge.org
Mon Feb 1 14:38:10 PST 2010
#571: #respond_to? should return false for unimplemented methods
---------------------------------+------------------------------------------
Reporter: honglilai@… | Owner: lsansonetti@…
Type: defect | Status: closed
Priority: blocker | Milestone: MacRuby 0.6
Component: MacRuby | Resolution: fixed
Keywords: |
---------------------------------+------------------------------------------
Changes (by lsansonetti@…):
* status: new => closed
* resolution: => fixed
* milestone: => MacRuby 0.6
Comment:
It looks like it was a bad idea to check in UNAVAILABLE_IMP since this
macro is used in a few other places, and calling #fork was then triggering
method_missing. I added the check in the respond_to? code path in r3397
and merged your spec change in r3398. Everything seems to work :-)
--
Ticket URL: <http://www.macruby.org/trac/ticket/571#comment:3>
MacRuby <http://macruby.org/>
More information about the MacRuby-devel
mailing list