diff options
author | Benoit Daloze <eregontp@gmail.com> | 2023-09-12 12:36:12 +0200 |
---|---|---|
committer | git <svn-admin@ruby-lang.org> | 2023-09-12 12:11:40 +0000 |
commit | fe3eff08ee404dfae92f36138adb2dd51df99eb5 (patch) | |
tree | 4874e1f17041a8a94669e2ab352f609e60f4b162 /test/yarp/snapshots/seattlerb/difficult3_3.txt | |
parent | f1c78b23313e63eb31a213cc7277b1eb206a581b (diff) | |
download | ruby-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.txt | 6 |
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: |