[ruby-cvs:66362] nobu:r59184 (trunk): fix return in toplevel ensure

nobu at ruby-lang.org nobu at ruby-lang.org
Tue Jun 27 23:09:09 JST 2017


nobu	2017-06-27 23:09:08 +0900 (Tue, 27 Jun 2017)

  New Revision: 59184

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

  Log:
    fix return in toplevel ensure
    
    * compile.c (iseq_compile_each0): adjust stack after return in
      toplevel ensure, when the value is used.
      [ruby-core:81777] [Bug #13682]

  Modified files:
    trunk/compile.c
    trunk/test/ruby/test_syntax.rb


More information about the ruby-cvs mailing list