diff options
| author | Kevin Newton <kddnewton@gmail.com> | 2024-10-10 10:24:57 -0400 |
|---|---|---|
| committer | git <svn-admin@ruby-lang.org> | 2024-10-10 14:45:59 +0000 |
| commit | 82c76f18965487a705c13903a7c6dce35d6554d5 (patch) | |
| tree | c1b63e243ce75998502f883dbeb27543fb3c4053 /test | |
| parent | 146ff6617326893130e5f29935cdaeae0836cfb5 (diff) | |
[ruby/prism] Reject invalid splat as last statement of parentheses
https://github.com/ruby/prism/commit/3a0b1c6110
Diffstat (limited to 'test')
| -rw-r--r-- | test/prism/errors/invalid_splat.txt | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/prism/errors/invalid_splat.txt b/test/prism/errors/invalid_splat.txt new file mode 100644 index 0000000000..cffd0f9879 --- /dev/null +++ b/test/prism/errors/invalid_splat.txt @@ -0,0 +1,4 @@ +(1 +*a) +^~ unexpected write target + |
