TL;DR: I can't reproduce a compiler error related to the use of dbg
, but thought I'd mention it.
Earlier today I played around with dbg <expression>
and then roc check
failed with some Rust unwrap error. I tried running the same code hours later, and everything worked. Weird, right? Anyone seen this before?
(Yes I know there may be compiler bugs)
$ roc version
roc nightly pre-release, built from commit 3da0934 on Tue Mar 4 09:24:38 UTC 2025
That sounds like Undefined Behaviour to me
Scary stuff
Last updated: Jul 06 2025 at 12:14 UTC