11de89ca1a (master): Reject `END { next } ` as well

0 views
Skip to first unread message

Earlopain

unread,
May 15, 2026, 6:59:02 AM (yesterday) May 15
to ruby...@g.ruby-lang.org
Earlopain 2026-05-13 11:52:14 +0000 (Wed, 13 May 2026)

New Revision: 11de89ca1a

https://github.com/ruby/ruby/commit/11de89ca1a

Log:
Reject `END { next } ` as well

Followup for https://bugs.ruby-lang.org/issues/20409

Removed files:
test/prism/fixtures/end_block_exit.txt
Modified files:
parse.y
prism/prism.c
test/prism/errors/4.1/end_block_exit.txt
test/prism/fixtures/3.3-4.0/end_block_exit.txt
test/ruby/test_ast.rb
Reply all
Reply to author
Forward
0 new messages