[ruby-cvs:73540] nobu:r66439 (trunk): Enable refinements on symbol-proc in ruby-level methods

nobu at ruby-lang.org nobu at ruby-lang.org
Tue Dec 18 22:59:46 JST 2018


nobu	2018-12-18 22:59:46 +0900 (Tue, 18 Dec 2018)

  New Revision: 66439

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

  Log:
    Enable refinements on symbol-proc in ruby-level methods
    
    * vm_args.c (refine_sym_proc_call): resolve refinements when the
      proc is invoked, instead of resolving at making the proc, to
      enable refinements on symbol-proc in ruby-level methods
    
    * vm.c (vm_cref_dup): clear cached symbol-procs when duplicating.
    
    [Bug #15114] [Fix GH-2039]
    
    From: manga_osyo <manga.osyo at gmail.com>

  Modified files:
    trunk/method.h
    trunk/test/ruby/test_symbol.rb
    trunk/vm.c
    trunk/vm_args.c
    trunk/vm_method.c


More information about the ruby-cvs mailing list