JRI98

Results 8 issues of JRI98

Fix https://github.com/roc-lang/roc/issues/6521

The following program should not build. However, instead of displaying an error, the compiler crashes with error: ``` thread '' panicked at crates/compiler/exhaustive/src/lib.rs:480:51: After type checking, lists and literals should...

The following program builds but gives the error: ``` This expression has a type that does not implement the abilities it's expected to: 11│ when Str.fromUtf8 (Encode.toBytes {} MyModule.jsonCoder) is...

The following program fails to build with error: ```thread 'main' panicked at 'I thought a non-nullable-unwrapped variant for a lambda set was impossible: how could such a lambda set be...

bug
P-high

The following program doesn't build when optimizations are enabled and the compiler crashes with error: ``` thread 'main' panicked at crates/vendor/morphic_lib/src/analyze.rs:823:73: called `Option::unwrap()` on a `None` value ``` ```roc app...

bug
alias-analysis

Remove 3 enum variants that I noticed were unused: `Expr::MalformedClosure` `RuntimeError::MalformedClosure` `AssignedField::Malformed`