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
The error message is provided by the platform. When roc hits a runtime error it call into roc_panic with a message. That message is generated from crates/compiler/problem/src/can.rs and currently uses the derived Debug impl.
pubfnruntime_message(self) -> String{useRuntimeError::*;matchself{DegenerateBranch(region) => {format!("Hit a branch pattern that does not bind all symbols its body needs, at {region:?}")}
err => format!("{err:?}"),}}
We should probably provide a nicer error message string for roc_panic to print for end users.
The following program builds without errors or warnings, but crashes at runtime with
MultipleCharsInSingleQuote(@158-163)
:The text was updated successfully, but these errors were encountered: