diff options
Diffstat (limited to 'test/yarp/snapshots/whitequark')
-rw-r--r-- | test/yarp/snapshots/whitequark/array_words_interp.txt | 2 | ||||
-rw-r--r-- | test/yarp/snapshots/whitequark/defined.txt | 2 | ||||
-rw-r--r-- | test/yarp/snapshots/whitequark/ivar.txt | 2 | ||||
-rw-r--r-- | test/yarp/snapshots/whitequark/ivasgn.txt | 7 | ||||
-rw-r--r-- | test/yarp/snapshots/whitequark/masgn_splat.txt | 2 | ||||
-rw-r--r-- | test/yarp/snapshots/whitequark/parser_bug_272.txt | 2 | ||||
-rw-r--r-- | test/yarp/snapshots/whitequark/resbody_var.txt | 2 | ||||
-rw-r--r-- | test/yarp/snapshots/whitequark/string_concat.txt | 2 | ||||
-rw-r--r-- | test/yarp/snapshots/whitequark/string_dvar.txt | 2 | ||||
-rw-r--r-- | test/yarp/snapshots/whitequark/var_op_asgn.txt | 1 |
10 files changed, 15 insertions, 9 deletions
diff --git a/test/yarp/snapshots/whitequark/array_words_interp.txt b/test/yarp/snapshots/whitequark/array_words_interp.txt index 3cc21323f7..963a83dd48 100644 --- a/test/yarp/snapshots/whitequark/array_words_interp.txt +++ b/test/yarp/snapshots/whitequark/array_words_interp.txt @@ -51,7 +51,7 @@ ProgramNode(0...38)( StringNode(29...32)(nil, (29...32), nil, "foo"), EmbeddedVariableNode(32...37)( (32...33), - InstanceVariableReadNode(33...37)() + InstanceVariableReadNode(33...37)(:baz) )], nil )], diff --git a/test/yarp/snapshots/whitequark/defined.txt b/test/yarp/snapshots/whitequark/defined.txt index 12a3005593..9d8d997e2b 100644 --- a/test/yarp/snapshots/whitequark/defined.txt +++ b/test/yarp/snapshots/whitequark/defined.txt @@ -3,7 +3,7 @@ ProgramNode(0...42)( StatementsNode(0...42)( [DefinedNode(0...13)( nil, - InstanceVariableReadNode(9...13)(), + InstanceVariableReadNode(9...13)(:foo), nil, (0...8) ), diff --git a/test/yarp/snapshots/whitequark/ivar.txt b/test/yarp/snapshots/whitequark/ivar.txt index 88bb2ace35..cf233251f2 100644 --- a/test/yarp/snapshots/whitequark/ivar.txt +++ b/test/yarp/snapshots/whitequark/ivar.txt @@ -1,4 +1,4 @@ ProgramNode(0...4)( [], - StatementsNode(0...4)([InstanceVariableReadNode(0...4)()]) + StatementsNode(0...4)([InstanceVariableReadNode(0...4)(:foo)]) ) diff --git a/test/yarp/snapshots/whitequark/ivasgn.txt b/test/yarp/snapshots/whitequark/ivasgn.txt index 4f6f90bbd7..587dcfaa9d 100644 --- a/test/yarp/snapshots/whitequark/ivasgn.txt +++ b/test/yarp/snapshots/whitequark/ivasgn.txt @@ -1,6 +1,11 @@ ProgramNode(0...9)( [], StatementsNode(0...9)( - [InstanceVariableWriteNode(0...9)((0...4), IntegerNode(7...9)(), (5...6))] + [InstanceVariableWriteNode(0...9)( + :var, + (0...4), + IntegerNode(7...9)(), + (5...6) + )] ) ) diff --git a/test/yarp/snapshots/whitequark/masgn_splat.txt b/test/yarp/snapshots/whitequark/masgn_splat.txt index e10e6d22d1..c6265c652e 100644 --- a/test/yarp/snapshots/whitequark/masgn_splat.txt +++ b/test/yarp/snapshots/whitequark/masgn_splat.txt @@ -51,7 +51,7 @@ ProgramNode(0...139)( nil ), MultiWriteNode(47...65)( - [InstanceVariableTargetNode(47...51)(), + [InstanceVariableTargetNode(47...51)(:foo), ClassVariableTargetNode(53...58)()], (59...60), ArrayNode(61...65)( diff --git a/test/yarp/snapshots/whitequark/parser_bug_272.txt b/test/yarp/snapshots/whitequark/parser_bug_272.txt index eeb981d694..50d7539807 100644 --- a/test/yarp/snapshots/whitequark/parser_bug_272.txt +++ b/test/yarp/snapshots/whitequark/parser_bug_272.txt @@ -6,7 +6,7 @@ ProgramNode(0...15)( nil, (0...1), nil, - ArgumentsNode(2...4)([InstanceVariableReadNode(2...4)()]), + ArgumentsNode(2...4)([InstanceVariableReadNode(2...4)(:b)]), nil, BlockNode(5...15)( [:c], diff --git a/test/yarp/snapshots/whitequark/resbody_var.txt b/test/yarp/snapshots/whitequark/resbody_var.txt index 861a91f79f..4530e6cdbd 100644 --- a/test/yarp/snapshots/whitequark/resbody_var.txt +++ b/test/yarp/snapshots/whitequark/resbody_var.txt @@ -10,7 +10,7 @@ ProgramNode(0...73)( (13...19), [], (20...22), - InstanceVariableTargetNode(23...26)(), + InstanceVariableTargetNode(23...26)(:ex), StatementsNode(28...31)( [CallNode(28...31)( nil, diff --git a/test/yarp/snapshots/whitequark/string_concat.txt b/test/yarp/snapshots/whitequark/string_concat.txt index c20f4ac35e..fde498b39f 100644 --- a/test/yarp/snapshots/whitequark/string_concat.txt +++ b/test/yarp/snapshots/whitequark/string_concat.txt @@ -7,7 +7,7 @@ ProgramNode(0...14)( [StringNode(1...4)(nil, (1...4), nil, "foo"), EmbeddedVariableNode(4...7)( (4...5), - InstanceVariableReadNode(5...7)() + InstanceVariableReadNode(5...7)(:a) )], (7...8) ), diff --git a/test/yarp/snapshots/whitequark/string_dvar.txt b/test/yarp/snapshots/whitequark/string_dvar.txt index c89e359565..2378e8fdcb 100644 --- a/test/yarp/snapshots/whitequark/string_dvar.txt +++ b/test/yarp/snapshots/whitequark/string_dvar.txt @@ -5,7 +5,7 @@ ProgramNode(0...14)( (0...1), [EmbeddedVariableNode(1...4)( (1...2), - InstanceVariableReadNode(2...4)() + InstanceVariableReadNode(2...4)(:a) ), StringNode(4...5)(nil, (4...5), nil, " "), EmbeddedVariableNode(5...9)((5...6), ClassVariableReadNode(6...9)()), diff --git a/test/yarp/snapshots/whitequark/var_op_asgn.txt b/test/yarp/snapshots/whitequark/var_op_asgn.txt index 4591e68c96..3aff7a6a60 100644 --- a/test/yarp/snapshots/whitequark/var_op_asgn.txt +++ b/test/yarp/snapshots/whitequark/var_op_asgn.txt @@ -8,6 +8,7 @@ ProgramNode(0...53)( :| ), InstanceVariableOperatorWriteNode(13...20)( + :a, (13...15), (16...18), IntegerNode(19...20)(), |