You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As the compiler says it’s definitely a compiler bug… here’s a report:
An internal compiler expectation was broken.
This is definitely a compiler bug.
Please file an issue here: <https://github.com/roc-lang/roc/issues/new/choose>
a Expr::TrySuffix expression was not completely removed in desugar_value_def_suffixed
Location: crates/compiler/can/src/expr.rs:1122:40
I should also mention that I was in the process of converting my function from Result.try to ?, so below is the last working version before I attempt to migrate the second Str.splitFirst call to ?. (you might tell me if I’m doing something wrong there)
As the compiler says it’s definitely a compiler bug… here’s a report:
This is the code that triggered this:
In my editor the first three lines of the body are highlighted with a curvy underline in red, but I’m not sure if that’s significant.
The text was updated successfully, but these errors were encountered: