The title pretty much says it all. Even so much as importing unicode.Grapheme (without using it) causes the roc language server to crash. This is roc built from main on todays latest commit, and unicode 0.3.0.
Minimum repro:
main.roc
package [Module] {
unicode: "https://github.com/roc-lang/unicode/releases/download/0.3.0/9KKFsA4CdOz0JIOL7iBSI_2jGIXQ6TsFBXgd086idpY.tar.br"
}
Module.roc
module []
import unicode.Grapheme
Note that importing unicode.CodePoint
does not cause this crash, and I can run roc check
and roc test
on code written with Grapheme.split
without issue.
I was able to reproduce this, output is:
thread 'tokio-runtime-worker' has overflowed its stack
fatal runtime error: stack overflow
Aborted (core dumped)
I'll make a high priority issue
Last updated: Jul 06 2025 at 12:14 UTC