[ruby-cvs:65665] eregon:r58493 (trunk): Send the backtrace of the circular require warning as a single String to Warning.warn

eregon at ruby-lang.org eregon at ruby-lang.org
Thu Apr 27 21:07:43 JST 2017


eregon	2017-04-27 21:07:43 +0900 (Thu, 27 Apr 2017)

  New Revision: 58493

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

  Log:
    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 files:
    trunk/error.c
    trunk/internal.h
    trunk/load.c
    trunk/test/ruby/test_exception.rb


More information about the ruby-cvs mailing list