diff options
author | Jemma Issroff <jemmaissroff@gmail.com> | 2023-10-31 17:00:28 -0300 |
---|---|---|
committer | git <svn-admin@ruby-lang.org> | 2023-11-01 14:40:44 +0000 |
commit | d0625099e0f691f44fb4c796d8d497d818bf7c8e (patch) | |
tree | 223ed8f212c6778c32196545c11ffd9a612ec383 /test/prism/snapshots/seattlerb/defn_kwarg_kwsplat.txt | |
parent | 717fb5bb0b0d9aa4dbc636ea87037703a941b34f (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.txt | 2 |
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: |