[ruby-cvs:70742] eregon:r63650 (trunk): Fix condition in Kernel#warn when using uplevel

eregon at ruby-lang.org eregon at ruby-lang.org
Thu Jun 14 06:17:48 JST 2018


eregon	2018-06-14 06:17:48 +0900 (Thu, 14 Jun 2018)

  New Revision: 63650

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

  Log:
    Fix condition in Kernel#warn when using uplevel
    
    * It causes SEGV on `warn("foo", uplevel: 100)`.
    * Found in a ruby/spec added by @andrykonchin in
      https://github.com/ruby/spec/pull/605

  Modified files:
    trunk/error.c


More information about the ruby-cvs mailing list