summaryrefslogtreecommitdiff
path: root/include/ruby/internal/intern/array.h
diff options
context:
space:
mode:
authorJeremy Evans <code@jeremyevans.net>2022-08-24 12:32:46 -0700
committerJeremy Evans <code@jeremyevans.net>2022-11-24 14:26:08 -0800
commitf5d73da8062377e5b93100c6ea109a37bd04b4c1 (patch)
tree44a00213b30d221aee0dbde591653dd05f49b1b1 /include/ruby/internal/intern/array.h
parent07169fd824529c0f7f69ff0c10939b63abecc6ef (diff)
Fix the position of rescue clause without exc_list
If the rescue clause has only exc_var and not exc_list, use the exc_var position instead of the rescue body position. This issue appears to have been introduced in 688169fd83b24564b653c03977c168cea50ccd35 when "opt_list" was split into "exc_list exc_var". Fixes [Bug #18974]
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/6283
Diffstat (limited to 'include/ruby/internal/intern/array.h')
0 files changed, 0 insertions, 0 deletions