diff options
author | Kevin Newton <kddnewton@gmail.com> | 2023-10-23 13:43:22 -0400 |
---|---|---|
committer | Kevin Newton <kddnewton@gmail.com> | 2023-10-26 14:59:07 -0400 |
commit | 922f48f08158332c8cf94ad37f9e307f80200bf9 (patch) | |
tree | 0514d0282daba40b7748cd77c00b9aaa70cd20bd /test/prism/snapshots/seattlerb/difficult3__12.txt | |
parent | 533bd1d1fa1bc0a9de1f8818b3a3275e9d50e6cc (diff) |
[ruby/prism] Remove RequiredDestructuredParameterNode in favor of MultiTargetNode
https://github.com/ruby/prism/commit/6d1858192e
Diffstat (limited to 'test/prism/snapshots/seattlerb/difficult3__12.txt')
-rw-r--r-- | test/prism/snapshots/seattlerb/difficult3__12.txt | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/test/prism/snapshots/seattlerb/difficult3__12.txt b/test/prism/snapshots/seattlerb/difficult3__12.txt index 569f28f58e..ccb83697af 100644 --- a/test/prism/snapshots/seattlerb/difficult3__12.txt +++ b/test/prism/snapshots/seattlerb/difficult3__12.txt @@ -20,15 +20,17 @@ │ │ │ ├── requireds: (length: 2) │ │ │ │ ├── @ RequiredParameterNode (location: (1,5)-(1,6)) │ │ │ │ │ └── name: :a - │ │ │ │ └── @ RequiredDestructuredParameterNode (location: (1,8)-(1,14)) - │ │ │ │ ├── parameters: (length: 2) - │ │ │ │ │ ├── @ SplatNode (location: (1,9)-(1,10)) - │ │ │ │ │ │ ├── operator_loc: (1,9)-(1,10) = "*" - │ │ │ │ │ │ └── expression: ∅ + │ │ │ │ └── @ MultiTargetNode (location: (1,8)-(1,14)) + │ │ │ │ ├── requireds: (length: 0) + │ │ │ │ ├── rest: + │ │ │ │ │ @ SplatNode (location: (1,9)-(1,10)) + │ │ │ │ │ ├── operator_loc: (1,9)-(1,10) = "*" + │ │ │ │ │ └── expression: ∅ + │ │ │ │ ├── posts: (length: 1) │ │ │ │ │ └── @ RequiredParameterNode (location: (1,12)-(1,13)) │ │ │ │ │ └── name: :b - │ │ │ │ ├── opening_loc: (1,8)-(1,9) = "(" - │ │ │ │ └── closing_loc: (1,13)-(1,14) = ")" + │ │ │ │ ├── lparen_loc: (1,8)-(1,9) = "(" + │ │ │ │ └── rparen_loc: (1,13)-(1,14) = ")" │ │ │ ├── optionals: (length: 0) │ │ │ ├── rest: ∅ │ │ │ ├── posts: (length: 0) |