diff options
author | Kevin Newton <kddnewton@gmail.com> | 2023-08-29 09:17:34 -0400 |
---|---|---|
committer | git <svn-admin@ruby-lang.org> | 2023-08-29 20:12:57 +0000 |
commit | b435161404ed960e02fadfd1c3d983d1fbfb91a0 (patch) | |
tree | 17addc8461de3886f8ac85ec6adc9798defe9f03 /test/yarp/snapshots/variables.txt | |
parent | 455153705c81fc1561317279da54daa5e5b479b3 (diff) | |
download | ruby-b435161404ed960e02fadfd1c3d983d1fbfb91a0.tar.gz |
[ruby/yarp] Add instance variable names to the constant pool
https://github.com/ruby/yarp/commit/f049932c44
Diffstat (limited to 'test/yarp/snapshots/variables.txt')
-rw-r--r-- | test/yarp/snapshots/variables.txt | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/test/yarp/snapshots/variables.txt b/test/yarp/snapshots/variables.txt index 35b90dbae3..a6b6a444f9 100644 --- a/test/yarp/snapshots/variables.txt +++ b/test/yarp/snapshots/variables.txt @@ -30,8 +30,9 @@ ProgramNode(0...293)( IntegerNode(57...58)() ), GlobalVariableReadNode(60...64)(), - InstanceVariableReadNode(66...70)(), + InstanceVariableReadNode(66...70)(:abc), InstanceVariableWriteNode(72...80)( + :abc, (72...76), IntegerNode(79...80)(), (77...78) @@ -62,14 +63,15 @@ ProgramNode(0...293)( ) ), MultiWriteNode(123...137)( - [InstanceVariableTargetNode(123...127)(), - InstanceVariableTargetNode(129...133)()], + [InstanceVariableTargetNode(123...127)(:foo), + InstanceVariableTargetNode(129...133)(:bar)], (134...135), IntegerNode(136...137)(), nil, nil ), InstanceVariableWriteNode(139...150)( + :foo, (139...143), ArrayNode(146...150)( [IntegerNode(146...147)(), IntegerNode(149...150)()], |