diff options
author | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-12-04 10:53:21 +0000 |
---|---|---|
committer | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-12-04 10:53:21 +0000 |
commit | 4e0ccdb387f5a76dabd5d311ffc1951ff87b3f83 (patch) | |
tree | afc20b402bc353f9a0b87dc69ba22a1fb316606c /insns.def | |
parent | 6401125732f14f12323c83070c59d01ab6befe87 (diff) | |
download | ruby-4e0ccdb387f5a76dabd5d311ffc1951ff87b3f83.tar.gz ruby-4e0ccdb387f5a76dabd5d311ffc1951ff87b3f83.tar.xz ruby-4e0ccdb387f5a76dabd5d311ffc1951ff87b3f83.zip |
* insns.def (defined): should respect #respond_to_missing? as
#respond_to? does.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25994 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'insns.def')
-rw-r--r-- | insns.def | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -799,6 +799,8 @@ defined } } } + if (RTEST(rb_funcall(v, rb_intern("respond_to_missing?"), 2, obj, Qfalse))) + expr_type = "method"; break; } case DEFINED_YIELD: |