diff options
author | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-12-16 18:20:29 +0000 |
---|---|---|
committer | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-12-16 18:20:29 +0000 |
commit | 5a6c48980a123f674952d1c9c66cafbfaacf8dfa (patch) | |
tree | 0b22e034cc308c6ef04a9242d204c244776eb053 /symbol.c | |
parent | 3cccf032e6ba496c14c56b0d6faaea3c51946665 (diff) | |
download | ruby-5a6c48980a123f674952d1c9c66cafbfaacf8dfa.tar.gz |
* vm_insnhelper.c (vm_call_method_each_type): should not set fastpath
with keyword arguments for VM_METHOD_TYPE_ATTRSET type methods.
Normally, we can not use keyword arguments for this kind of methods,
(obj.foo = 1), but we can set alias names for them.
[Bug #11657]
* test/ruby/test_keyword.rb: add a test for this fix.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53164 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'symbol.c')
0 files changed, 0 insertions, 0 deletions