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__9.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__9.txt')
-rw-r--r-- | test/prism/snapshots/seattlerb/difficult3__9.txt | 20 |
1 files changed, 11 insertions, 9 deletions
diff --git a/test/prism/snapshots/seattlerb/difficult3__9.txt b/test/prism/snapshots/seattlerb/difficult3__9.txt index 391bb7b3d1..09246314e5 100644 --- a/test/prism/snapshots/seattlerb/difficult3__9.txt +++ b/test/prism/snapshots/seattlerb/difficult3__9.txt @@ -20,15 +20,17 @@ │ │ │ ├── requireds: (length: 2) │ │ │ │ ├── @ RequiredParameterNode (location: (1,5)-(1,6)) │ │ │ │ │ └── name: :a - │ │ │ │ └── @ RequiredDestructuredParameterNode (location: (1,8)-(1,12)) - │ │ │ │ ├── parameters: (length: 1) - │ │ │ │ │ └── @ SplatNode (location: (1,9)-(1,11)) - │ │ │ │ │ ├── operator_loc: (1,9)-(1,10) = "*" - │ │ │ │ │ └── expression: - │ │ │ │ │ @ RequiredParameterNode (location: (1,10)-(1,11)) - │ │ │ │ │ └── name: :b - │ │ │ │ ├── opening_loc: (1,8)-(1,9) = "(" - │ │ │ │ └── closing_loc: (1,11)-(1,12) = ")" + │ │ │ │ └── @ MultiTargetNode (location: (1,8)-(1,12)) + │ │ │ │ ├── requireds: (length: 0) + │ │ │ │ ├── rest: + │ │ │ │ │ @ SplatNode (location: (1,9)-(1,11)) + │ │ │ │ │ ├── operator_loc: (1,9)-(1,10) = "*" + │ │ │ │ │ └── expression: + │ │ │ │ │ @ RequiredParameterNode (location: (1,10)-(1,11)) + │ │ │ │ │ └── name: :b + │ │ │ │ ├── posts: (length: 0) + │ │ │ │ ├── lparen_loc: (1,8)-(1,9) = "(" + │ │ │ │ └── rparen_loc: (1,11)-(1,12) = ")" │ │ │ ├── optionals: (length: 0) │ │ │ ├── rest: ∅ │ │ │ ├── posts: (length: 0) |