Stream: bugs

Topic: Compiler crash for invalid nominal record patterns


view this post on Zulip Matthieu Pizenberg (Aug 18 2026 at 12:59):

Hi, I opened an issue for the crash. It’s here: https://github.com/roc-lang/roc/issues/10847

view this post on Zulip Matthieu Pizenberg (Aug 18 2026 at 13:00):

Basically this crashes:

A := { a : Str }.{
    f : A -> Str
    # Should be: |A.{ .. }| ""
    f = |A.{}| ""
}

main! = |_| Ok(echo!(A.f(A.{ a: "" })))

view this post on Zulip Anton (Aug 18 2026 at 13:01):

Thanks for reporting @Matthieu Pizenberg


Last updated: Sep 03 2026 at 15:16 UTC