summaryrefslogtreecommitdiff
path: root/test/prism/snapshots/seattlerb/defn_kwarg_kwsplat.txt
diff options
context:
space:
mode:
authorJemma Issroff <jemmaissroff@gmail.com>2023-10-31 17:00:28 -0300
committergit <svn-admin@ruby-lang.org>2023-11-01 14:40:44 +0000
commitd0625099e0f691f44fb4c796d8d497d818bf7c8e (patch)
tree223ed8f212c6778c32196545c11ffd9a612ec383 /test/prism/snapshots/seattlerb/defn_kwarg_kwsplat.txt
parent717fb5bb0b0d9aa4dbc636ea87037703a941b34f (diff)
[ruby/prism] Split KeywordParameterNode into Optional and Required
Prior to this commit, KeywordParameterNode included both optional and required keywords. With this commit, it is split in two, with `OptionalKeywordParameterNode`s no longer having a value field. https://github.com/ruby/prism/commit/89084d9af4
Diffstat (limited to 'test/prism/snapshots/seattlerb/defn_kwarg_kwsplat.txt')
-rw-r--r--test/prism/snapshots/seattlerb/defn_kwarg_kwsplat.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/prism/snapshots/seattlerb/defn_kwarg_kwsplat.txt b/test/prism/snapshots/seattlerb/defn_kwarg_kwsplat.txt
index 0d005c2057..b27e177824 100644
--- a/test/prism/snapshots/seattlerb/defn_kwarg_kwsplat.txt
+++ b/test/prism/snapshots/seattlerb/defn_kwarg_kwsplat.txt
@@ -14,7 +14,7 @@
│ ├── rest: ∅
│ ├── posts: (length: 0)
│ ├── keywords: (length: 1)
- │ │ └── @ KeywordParameterNode (location: (1,6)-(1,10))
+ │ │ └── @ RequiredKeywordParameterNode (location: (1,6)-(1,10))
│ │ ├── name: :b
│ │ ├── name_loc: (1,6)-(1,8) = "b:"
│ │ └── value: