I noticed that I am no longer able to unwrap an Ok in main!, but I am able to do it at the top level. Is that intentional?
https://github.com/niclas-ahden/roc-non-zero does this in its main!:
# Look at this spectacular line!
Ok(non_zero) = NonZero.new(42)
and that no longer compiles on Roc 22e3718.
not intentional! Can you open an issue for it?
Will do!
https://github.com/roc-lang/roc/issues/13281
Last updated: Nov 26 2026 at 20:35 UTC