roc
roc copied to clipboard
Monomorphization reaching `unreachable!` branch
In 181fcb97f702b36e839256daae3104ee2a89c135 running cargo run examples/gui/Hello.roc triggers an unreachable!
'internal error: entered unreachable code: so far', compiler/mono/src/ir.rs:2410:21
Of note, this only started happening after introducing a large recursive type that's not named (it's defined recursively using as, which in this case is important).
Related to https://github.com/rtfeldman/roc/issues/3549, and is fixed by the patch mentioned there.
This has been resolved, in part with #3549