[ruby-core:117436] [Ruby master Bug#20409] Missing reporting some invalid breaks
From:
"kddnewton (Kevin Newton) via ruby-core" <ruby-core@...>
Date:
2024-04-03 16:25:09 UTC
List:
ruby-core #117436
Issue #20409 has been updated by kddnewton (Kevin Newton).
I think
```ruby
END { break }
```
should also be a syntax error, as it seems to always result in a `LocalJumpError`, but I could be wrong.
----------------------------------------
Bug #20409: Missing reporting some invalid breaks
https://bugs.ruby-lang.org/issues/20409#change-107812
* 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/postorius/lists/ruby-core.ml.ruby-lang.org/