aboutsummaryrefslogtreecommitdiffstats
path: root/test/yarp/snapshots/seattlerb/difficult3_3.txt
diff options
context:
space:
mode:
authorBenoit Daloze <eregontp@gmail.com>2023-09-12 12:36:12 +0200
committergit <svn-admin@ruby-lang.org>2023-09-12 12:11:40 +0000
commitfe3eff08ee404dfae92f36138adb2dd51df99eb5 (patch)
tree4874e1f17041a8a94669e2ab352f609e60f4b162 /test/yarp/snapshots/seattlerb/difficult3_3.txt
parentf1c78b23313e63eb31a213cc7277b1eb206a581b (diff)
downloadruby-fe3eff08ee404dfae92f36138adb2dd51df99eb5.tar.gz
[ruby/yarp] Move the post required parameters after the rest parameter
* See https://github.com/ruby/yarp/issues/1436 https://github.com/ruby/yarp/commit/6f4e9ff940
Diffstat (limited to 'test/yarp/snapshots/seattlerb/difficult3_3.txt')
-rw-r--r--test/yarp/snapshots/seattlerb/difficult3_3.txt6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/yarp/snapshots/seattlerb/difficult3_3.txt b/test/yarp/snapshots/seattlerb/difficult3_3.txt
index f077b4a025..87ea39482f 100644
--- a/test/yarp/snapshots/seattlerb/difficult3_3.txt
+++ b/test/yarp/snapshots/seattlerb/difficult3_3.txt
@@ -19,14 +19,14 @@
│ │ │ @ ParametersNode (location: (5...14))
│ │ │ ├── requireds: (length: 0)
│ │ │ ├── optionals: (length: 0)
- │ │ │ ├── posts: (length: 1)
- │ │ │ │ └── @ RequiredParameterNode (location: (9...10))
- │ │ │ │ └── name: :b
│ │ │ ├── rest:
│ │ │ │ @ RestParameterNode (location: (5...7))
│ │ │ │ ├── name: :a
│ │ │ │ ├── name_loc: (6...7) = "a"
│ │ │ │ └── operator_loc: (5...6) = "*"
+ │ │ │ ├── posts: (length: 1)
+ │ │ │ │ └── @ RequiredParameterNode (location: (9...10))
+ │ │ │ │ └── name: :b
│ │ │ ├── keywords: (length: 0)
│ │ │ ├── keyword_rest: ∅
│ │ │ └── block: