aboutsummaryrefslogtreecommitdiffstats
path: root/internal.h
diff options
context:
space:
mode:
authorJeremy Evans <code@jeremyevans.net>2019-10-02 07:56:28 -0700
committerGitHub <noreply@github.com>2019-10-02 07:56:28 -0700
commitef697388becedf36966a2edcdcf88baca342b9e2 (patch)
tree816a19ad728f795d71402db947386e7e9dfb6226 /internal.h
parent9759e3c9f09ec442b2aa0d0cc299ac791e516a01 (diff)
downloadruby-ef697388becedf36966a2edcdcf88baca342b9e2.tar.gz
Treat return in block in class/module as LocalJumpError (#2511)
return directly in class/module is an error, so return in proc in class/module should also be an error. I believe the previous behavior was an unintentional oversight during the addition of top-level return in 2.4.
Diffstat (limited to 'internal.h')
0 files changed, 0 insertions, 0 deletions