[ruby-cvs:67771] nobu:r60590 (trunk): compile.c: ensure after return in library toplevel

nobu at ruby-lang.org nobu at ruby-lang.org
Tue Oct 31 18:33:22 JST 2017


nobu	2017-10-31 18:33:22 +0900 (Tue, 31 Oct 2017)

  New Revision: 60590

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

  Log:
    compile.c: ensure after return in library toplevel
    
    * compile.c (compile_return): execute ensure clause after toplevel
      return even in library toplevel other than the main script.
      [ruby-core:83589] [Bug #14061]
    
    test

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


More information about the ruby-cvs mailing list