Sometimes I'll accidentally throw a comma in between arguments.
result = List.dropFirst [1, 2, 3], 1
Calling roc dev
on this results in We ran into an issue while compiling your code.
error which can make it very difficult to find that extra comma.
Is it possible to get a pretty error message for this from the compiler? I can write up an issue on GitHub if it's possible.
please do! We should definitely handle that more gracefully
Thanks, posted here: https://github.com/roc-lang/roc/issues/6233
Ryan Bates has marked this topic as resolved.
Last updated: Jul 06 2025 at 12:14 UTC