summaryrefslogtreecommitdiff
path: root/test/prism/snapshots/seattlerb/block_kw.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/block_kw.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/block_kw.txt')
-rw-r--r--test/prism/snapshots/seattlerb/block_kw.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/prism/snapshots/seattlerb/block_kw.txt b/test/prism/snapshots/seattlerb/block_kw.txt
index 92773bda25..db136d2ae6 100644
--- a/test/prism/snapshots/seattlerb/block_kw.txt
+++ b/test/prism/snapshots/seattlerb/block_kw.txt
@@ -22,7 +22,7 @@
│ │ │ ├── rest: ∅
│ │ │ ├── posts: (length: 0)
│ │ │ ├── keywords: (length: 1)
- │ │ │ │ └── @ KeywordParameterNode (location: (1,8)-(1,12))
+ │ │ │ │ └── @ RequiredKeywordParameterNode (location: (1,8)-(1,12))
│ │ │ │ ├── name: :k
│ │ │ │ ├── name_loc: (1,8)-(1,10) = "k:"
│ │ │ │ └── value: