Fix example of array pattern that results in a SyntaxError

```
❯ ruby --parser=prism --dump=parsetree -e "foo in *1"
ruby: -e:1: syntax error found (SyntaxError)
> 1 | foo in *1
    |         ^ unexpected integer, expecting end-of-input
  2 |
```
This commit is contained in:
ydah 2024-11-28 21:07:27 +09:00 committed by git
parent b1f992e027
commit 90404ca460

View File

@ -1031,8 +1031,8 @@ nodes:
foo in [1, 2]
^^^^^^^^^^^^^
foo in *1
^^^^^^^^^
foo in *bar
^^^^^^^^^^^
foo in Bar[]
^^^^^^^^^^^^