diff options
author | usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-08-09 13:29:42 +0000 |
---|---|---|
committer | usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-08-09 13:29:42 +0000 |
commit | e55b415c2fa001bd91d8706c5492d2cb28393f88 (patch) | |
tree | 3c6ff13a260dcf54803fa67936a52baa445206fe /ChangeLog | |
parent | 12474f034730c2832e5785a2b2e3eeaaa181d743 (diff) |
merge revision(s) 59202: [Backport #13690]
compile.c: disallow next in once
* compile.c (iseq_compile_each0): turned dregx context in "once"
into "guarded" type from "block" type, to disallow `next`,
`break`, `redo` as well as outside "once".
[ruby-core:81805] [Bug #13690]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_3@59553 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 13 |
1 files changed, 13 insertions, 0 deletions
@@ -1,3 +1,16 @@ +Wed Aug 9 22:27:23 2017 NAKAMURA Usaku <usa@ruby-lang.org> + + * test/ruby/test_syntax.rb (test_invalid_{break,next}): use + assert_in_out_err instead of assert_syntax_error because on ruby_2_3 + assert_syntax_error uses eval. + +Wed Aug 9 22:27:23 2017 Nobuyoshi Nakada <nobu@ruby-lang.org> + + * compile.c (iseq_compile_each0): turned dregx context in "once" + into "guarded" type from "block" type, to disallow `next`, + `break`, `redo` as well as outside "once". + [Bug #13690] + Wed Aug 9 21:28:34 2017 NAKAMURA Usaku <usa@ruby-lang.org> * test/ruby/test_process.rb (test_rlimit_{name,value}): test in UTF-8 |