Bug #13678
toplevel return causes [BUG]
Status:
Closed
Priority:
Normal
Assignee:
-
Target version:
-
ruby -v:
ruby 2.5.0dev (2017-06-23 trunk 59146) [x86_64-darwin15]
Description
Attached script causes [BUG] Stack consistency error (sp: 7, bp: 6)
Files
Related issues
Associated revisions
compile.c: toplevel return in argument
- compile.c (iseq_compile_each0): adjust the stack before return in an evstr/argument (reported by Balazs balazs@kutilovi.cz) to fix stack consistency error. [ruby-core:81761] [Bug #13678]
compile.c: toplevel return in argument
- compile.c (iseq_compile_each0): adjust the stack before return in an evstr/argument (reported by Balazs balazs@kutilovi.cz) to fix stack consistency error. [ruby-core:81761] [Bug #13678]
compile.c: toplevel return in argument
- compile.c (iseq_compile_each0): adjust the stack before return in an evstr/argument (reported by Balazs balazs@kutilovi.cz) to fix stack consistency error. [ruby-core:81761] [Bug #13678]
merge revision(s) 59169: [Backport #13678]
compile.c: toplevel return in argument * compile.c (iseq_compile_each0): adjust the stack before return in an evstr/argument (reported by Balazs <balazs@kutilovi.cz>) to fix stack consistency error. [ruby-core:81761] [Bug #13678]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_4@59490 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
merge revision(s) 59169: [Backport #13678]
compile.c: toplevel return in argument * compile.c (iseq_compile_each0): adjust the stack before return in an evstr/argument (reported by Balazs <balazs@kutilovi.cz>) to fix stack consistency error. [ruby-core:81761] [Bug #13678]
History
Updated by nobu (Nobuyoshi Nakada) over 1 year ago
- Status changed from Open to Closed
Applied in changeset trunk|r59169.
compile.c: toplevel return in argument
- compile.c (iseq_compile_each0): adjust the stack before return in an evstr/argument (reported by Balazs balazs@kutilovi.cz) to fix stack consistency error. [ruby-core:81761] [Bug #13678]
Updated by nobu (Nobuyoshi Nakada) over 1 year ago
- Related to Feature #4840: Allow returning from require added
Updated by nagachika (Tomoyuki Chikanaga) over 1 year ago
- Backport changed from 2.2: DONTNEED, 2.3: DONTNEED, 2.4: REQUIRED to 2.2: DONTNEED, 2.3: DONTNEED, 2.4: DONE
ruby_2_4 r59490 merged revision(s) 59169.
compile.c: toplevel return in argument
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59169 b2dd03c8-39d4-4d8f-98ff-823fe69b080e