Stream: beginners

Topic: Compiler errors with no output


view this post on Zulip Simon Redding (Oct 19 2026 at 11:53):

I have a source file Fmt.roc that passes roc check but fails roc test with compiler errors but error detail.

simon@neckbeard:~/working/roc-sfmt$ roc check package/Fmt.roc
No errors found in 26ms for package/Fmt.roc
simon@neckbeard:~/working/roc-sfmt$ roc test package/Fmt.roc
Ran 3 tests in 17.8 ms.:
    0 passed
    0 failed
    2 compiler errors
simon@neckbeard:~/working/roc-sfmt$

roc --version: Roc compiler version nightly-2026-10-09-258ab27

Any idea on what the errors are and/or why the detail isn't being reported?

view this post on Zulip Richard Feldman (Oct 19 2026 at 13:19):

sounds like a bug! Can you open a github issue with steps to reproduce? :smile:

view this post on Zulip Simon Redding (Oct 19 2026 at 13:29):

Here you go: https://github.com/roc-lang/roc/issues/12444

view this post on Zulip Richard Feldman (Oct 19 2026 at 13:31):

thank you!

view this post on Zulip Simon Redding (Oct 19 2026 at 14:20):

Oh, I see that the underlying error is me putting a non-function in the where clause.
My bad.

view this post on Zulip Richard Feldman (Oct 19 2026 at 14:55):

no worries, we should handle that case better anyway!


Last updated: Nov 04 2026 at 18:54 UTC