Improve error message.
This commit is contained in:
parent
cdfcd1249e
commit
24f85966a2
|
@ -522,7 +522,7 @@
|
||||||
:token (current origin)
|
:token (current origin)
|
||||||
:length (count ms)
|
:length (count ms)
|
||||||
:members ms})
|
:members ms})
|
||||||
(panic parser "A splat my only appear once in a pattern, at the end of a pattern.")))
|
(panic parser "A splat my only appear once in a list pattern, at the end of the pattern.")))
|
||||||
|
|
||||||
(::token/comma ::token/newline)
|
(::token/comma ::token/newline)
|
||||||
(recur
|
(recur
|
||||||
|
|
Loading…
Reference in New Issue
Block a user