[ruby-cvs:69616] nagachika:r62435 (ruby_2_4): merge revision(s) 58471, 58493: [Backport #13505]

nagachika at ruby-lang.org nagachika at ruby-lang.org
Sat Feb 17 00:27:38 JST 2018


nagachika	2018-02-17 00:27:37 +0900 (Sat, 17 Feb 2018)

  New Revision: 62435

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

  Log:
    merge revision(s) 58471,58493: [Backport #13505]
    
    load.c: backtrace of circular require
    
    * load.c (load_lock): print backtrace of circular require via
      `Warning.warn` [ruby-core:80850] [Bug #13505]
    
    Send the backtrace of the circular require warning as a single String to Warning.warn
    
    * load.c: send as a single string.
    * error.c: expose the string formatted by rb_warning as rb_warning_string().
    * test/ruby/test_exception.rb: update tests.
      [ruby-core:80850] [Bug #13505]

  Modified directories:
    branches/ruby_2_4/
  Modified files:
    branches/ruby_2_4/error.c
    branches/ruby_2_4/internal.h
    branches/ruby_2_4/load.c
    branches/ruby_2_4/test/ruby/test_exception.rb
    branches/ruby_2_4/version.h
    branches/ruby_2_4/vm_backtrace.c


More information about the ruby-cvs mailing list