summaryrefslogtreecommitdiff
path: root/lib/cgi/cookie.rb
diff options
context:
space:
mode:
authorJeremy Evans <code@jeremyevans.net>2019-08-08 20:02:54 -0700
committerJeremy Evans <code@jeremyevans.net>2019-08-09 09:25:30 -0700
commit53b3be5d58a9bf1efce229b3dce723f96e820c79 (patch)
treec0752c19a5477720720f12b9aaf2ccbb35594ad5 /lib/cgi/cookie.rb
parentcecae8593abb79213f818078ee0361277401f86c (diff)
Fix parsing of mutiple assignment with rescue modifier
Single assignment with rescue modifier applies rescue to the RHS: a = raise rescue 1 # a = (raise rescue 1) Previously, multiple assignment with rescue modifier applied rescue to the entire expression: a, b = raise rescue [1, 2] # (a, b = raise) rescue [1, 2] This makes multiple assignment with rescue modifier consistent with single assignment with rescue modifier, applying rescue to the RHS: a, b = raise rescue [1, 2] # a, b = (raise rescue [1, 2]) Implements [Feature #8239] Fixes [Bug #8279]
Diffstat (limited to 'lib/cgi/cookie.rb')
0 files changed, 0 insertions, 0 deletions