Stream: contributing

Topic: ✔ Roc repl "$" produces endless string error


view this post on Zulip David Dunn (Jan 27 2024 at 15:59):

Couldn't find a Github issue for "endless string", "interpolation" or "$" that mentioned this error - should I log one? Ran into it trying to run rebuild.sh in roc-lang/unicode, while playing with Grapheme.split in roc-json.

Error:

$ roc repl

  The rockin' roc repl
────────────────────────

Enter an expression, or :help, or :q to quit.

» "$"

── ENDLESS STRING ──────────────────────────────────────────────────────────────

I cannot find the end of this string:

4│      "$"
         ^

You could change it to something like "to be or not to be" or even
just "".

Roc version: roc nightly pre-release, built from commit c6455147396 on Fri Jan 26 09:12:46 UTC 2024

view this post on Zulip Richard Feldman (Jan 27 2024 at 16:03):

yeah that's a bug, thanks!

view this post on Zulip Richard Feldman (Jan 27 2024 at 21:28):

https://github.com/roc-lang/roc/pull/6447 should fix this

view this post on Zulip David Dunn (Jan 28 2024 at 06:22):

Awesome, thanks! I'll get back to it

view this post on Zulip Notification Bot (Jan 28 2024 at 06:22):

doubledup has marked this topic as resolved.


Last updated: Jul 06 2025 at 12:14 UTC