diff options
| author | Kevin Newton <kddnewton@gmail.com> | 2025-11-23 16:35:17 -0500 |
|---|---|---|
| committer | git <svn-admin@ruby-lang.org> | 2025-11-23 21:36:19 +0000 |
| commit | b75cf83a333ab4e321e89cdefb94e684f6648033 (patch) | |
| tree | 9eb8ed9f5fbbc53fd1c145df5fbeb227af7ce6d7 /test/prism/errors | |
| parent | 8d73a181879d3151bb5e7ecf928ec098d154d498 (diff) | |
[ruby/prism] Revert "Reject `p(p a, &block => value)` and similar"
https://github.com/ruby/prism/commit/fef2c20777
Diffstat (limited to 'test/prism/errors')
| -rw-r--r-- | test/prism/errors/command_calls_35.txt | 41 |
1 files changed, 0 insertions, 41 deletions
diff --git a/test/prism/errors/command_calls_35.txt b/test/prism/errors/command_calls_35.txt deleted file mode 100644 index 9eb011cd86..0000000000 --- a/test/prism/errors/command_calls_35.txt +++ /dev/null @@ -1,41 +0,0 @@ -p(p a, x: b => value) - ^~ unexpected '=>'; expected a `)` to close the arguments - ^ unexpected ')', expecting end-of-input - ^ unexpected ')', ignoring it - -p(p a, x: => value) - ^~ unexpected '=>'; expected a `)` to close the arguments - ^ unexpected ')', expecting end-of-input - ^ unexpected ')', ignoring it - -p(p a, &block => value) - ^~ unexpected '=>'; expected a `)` to close the arguments - ^ unexpected ')', expecting end-of-input - ^ unexpected ')', ignoring it - -p(p a, *args => value) - ^~ unexpected '=>'; expected a `)` to close the arguments - ^ unexpected ')', expecting end-of-input - ^ unexpected ')', ignoring it - -p(p a, **kwargs => value) - ^~ unexpected '=>'; expected a `)` to close the arguments - ^ unexpected ')', expecting end-of-input - ^ unexpected ')', ignoring it - -p p 1, &block => 2, &block - ^~ unexpected '=>', expecting end-of-input - ^~ unexpected '=>', ignoring it - ^ unexpected ',', expecting end-of-input - ^ unexpected ',', ignoring it - ^ unexpected '&', ignoring it - -p p p 1 => 2 => 3 => 4 - ^~ unexpected '=>', expecting end-of-input - ^~ unexpected '=>', ignoring it - -p[p a, x: b => value] - ^ expected a matching `]` - ^ unexpected ']', expecting end-of-input - ^ unexpected ']', ignoring it - |
