[ruby-cvs:60728] nagachika:r53567 (ruby_2_2): merge revision(s) 53164: [Backport #11657]

nagachika at ruby-lang.org nagachika at ruby-lang.org
Mon Jan 18 00:59:36 JST 2016


nagachika	2016-01-18 00:59:36 +0900 (Mon, 18 Jan 2016)

  New Revision: 53567

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=53567

  Log:
    merge revision(s) 53164: [Backport #11657]
    
    * 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.

  Modified directories:
    branches/ruby_2_2/
  Modified files:
    branches/ruby_2_2/ChangeLog
    branches/ruby_2_2/test/ruby/test_keyword.rb
    branches/ruby_2_2/version.h
    branches/ruby_2_2/vm_insnhelper.c


More information about the ruby-cvs mailing list