[ruby-cvs:50011] charliesome:r42869 (trunk): * vm_eval.c (vm_call0): fix prototype, the id parameter should be of

charliesome at ruby-lang.org charliesome at ruby-lang.org
Sat Sep 7 15:44:33 JST 2013


charliesome	2013-09-07 15:44:31 +0900 (Sat, 07 Sep 2013)

  New Revision: 42869

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=42869

  Log:
    * vm_eval.c (vm_call0): fix prototype, the id parameter should be of
      type ID, not VALUE
    
    * vm_insnhelper.c (check_match): the rb_funcall family of functions
      does not care about refinements. We need to use
      rb_method_entry_with_refinements instead to call === with
      refinements. Thanks to Jon Conley for reporting this bug.
      [ruby-core:57051] [Bug #8872]
    
    * test/ruby/test_refinement.rb: add test

  Modified files:
    trunk/ChangeLog
    trunk/test/ruby/test_refinement.rb
    trunk/vm_eval.c
    trunk/vm_insnhelper.c


More information about the ruby-cvs mailing list