Improve error message.

This commit is contained in:
Scott Richmond 2022-06-19 14:58:14 -04:00
parent cdfcd1249e
commit 24f85966a2

View File

@ -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