summaryrefslogtreecommitdiff
path: root/include/ruby/fiber
diff options
context:
space:
mode:
authorJeremy Evans <code@jeremyevans.net>2024-09-18 16:54:56 -0700
committerGitHub <noreply@github.com>2024-09-18 16:54:56 -0700
commit268c72377b06b7d84a0998ca241340d0f58768f6 (patch)
tree517bcd762780681b88a2cea5d6318b7a244a6144 /include/ruby/fiber
parent984a791d58ec4350d62714a2d063c1bb54707bb6 (diff)
Raise a compile error for break/next/redo inside eval in cases where it is optimized away
In cases where break/next/redo are not valid syntax, they should raise a SyntaxError even if inside a conditional block that is optimized away. Fixes [Bug #20597] Co-authored-by: Kevin Newton <kddnewton@gmail.com>
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/11099 Merged-By: jeremyevans <code@jeremyevans.net>
Diffstat (limited to 'include/ruby/fiber')
0 files changed, 0 insertions, 0 deletions