aboutsummaryrefslogtreecommitdiffstats
path: root/test/yarp/snapshots/rescue.txt
diff options
context:
space:
mode:
authorBenoit Daloze <eregontp@gmail.com>2023-08-30 22:48:17 +0200
committergit <svn-admin@ruby-lang.org>2023-09-01 13:18:30 +0000
commita21b5a943fe20892168eb76ecd1723191650da30 (patch)
treec7ec7b8eb98803839fa06079fff6f5657a41bd13 /test/yarp/snapshots/rescue.txt
parentf1f6f1b39ebec35462efed9b20bfac4b6409133f (diff)
downloadruby-a21b5a943fe20892168eb76ecd1723191650da30.tar.gz
[ruby/yarp] Move name_loc before value for LocalVariableWriteNode
* Consistent with ClassVariableWriteNode, ConstantWriteNode, InstanceVariableWriteNode, GlobalVariableWriteNode. * Fixes desugaring of local variable with operators. https://github.com/ruby/yarp/commit/9a66737775
Diffstat (limited to 'test/yarp/snapshots/rescue.txt')
-rw-r--r--test/yarp/snapshots/rescue.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/yarp/snapshots/rescue.txt b/test/yarp/snapshots/rescue.txt
index b8944afd19..c52a261fce 100644
--- a/test/yarp/snapshots/rescue.txt
+++ b/test/yarp/snapshots/rescue.txt
@@ -192,6 +192,7 @@ ProgramNode(0...316)(
LocalVariableWriteNode(217...235)(
:a,
0,
+ (217...218),
RescueModifierNode(221...235)(
CallNode(221...224)(
nil,
@@ -207,7 +208,6 @@ ProgramNode(0...316)(
(225...231),
NilNode(232...235)()
),
- (217...218),
(219...220)
),
StatementsNode(238...241)(