[ruby-core:123674] [Ruby Bug#20409] Missing reporting some invalid breaks

From: "kddnewton (Kevin Newton) via ruby-core" <ruby-core@...>
Date: 2025-11-04 13:42:56 UTC
List: ruby-core #123674
Issue #20409 has been updated by kddnewton (Kevin Newton).


I think `END { break }` should still be a syntax error, as it always results in an error. 

----------------------------------------
Bug #20409: Missing reporting some invalid breaks
https://bugs.ruby-lang.org/issues/20409#change-115056

* Author: kddnewton (Kevin Newton)
* Status: Open
* Backport: 3.0: UNKNOWN, 3.1: UNKNOWN, 3.2: UNKNOWN, 3.3: UNKNOWN
----------------------------------------




-- 
https://bugs.ruby-lang.org/
______________________________________________
 ruby-core mailing list -- ruby-core@ml.ruby-lang.org
 To unsubscribe send an email to ruby-core-leave@ml.ruby-lang.org
 ruby-core info -- https://ml.ruby-lang.org/mailman3/lists/ruby-core.ml.ruby-lang.org/

In This Thread