Stream: bugs

Topic: Generic Factory Forwarding Check Hangs


view this post on Zulip Chander Ramesh (Sep 10 2026 at 18:39):

(On mac silicon) - doesn't happen on september 5th nightly, but does on september 10th

import pf.Model as M

Factory :: [].{
    build : Str, Str, (Str -> Try(a, Str)), (a -> Str) -> M(a)
    build = M.define
}
Input September 5 September 10
app/ForwardedFactory.roc Exit 0, 47 ms Timeout, exit 124, no output
app/EtaForwardedFactory.roc Exit 0, 15 ms Exit 0, 15 ms
app/DirectFactory.roc Exit 0, 13 ms Exit 0, 11 ms

Ran using this:

timeout --signal=TERM --kill-after=2s 20s \
  env -i LANG=C LC_ALL=C HOME=/absolute/repro/home TMPDIR=/absolute/repro/tmp \
  ROC_CACHE_DIR=/absolute/new-cache XDG_CACHE_HOME=/absolute/new-cache \
  /absolute/compiler/roc check --no-cache app/ForwardedFactory.roc

I'm attaching the minimum reproducible case below
roc-forwarded-factory-repro.tar.gz

view this post on Zulip Anton (Sep 11 2026 at 12:09):

Could you make an issue for this at https://github.com/roc-lang/roc/issues @Chander Ramesh?

That is the preferred place for issues unless you have an urgent blocker or you're not sure if something is a bug.


Last updated: Sep 24 2026 at 15:59 UTC