mirror of
https://github.com/roc-lang/roc.git
synced 2025-10-02 16:21:11 +00:00
Improve a todo error message
This commit is contained in:
parent
00c1408a56
commit
0357ff552b
2 changed files with 5 additions and 1 deletions
|
@ -260,7 +260,10 @@ fn solve(
|
|||
|
||||
state
|
||||
}
|
||||
_ => todo!(),
|
||||
other => todo!(
|
||||
"the case where unify for Pattern was unsuccessful with {:?}",
|
||||
other
|
||||
),
|
||||
}
|
||||
}
|
||||
Let(let_con) => {
|
||||
|
|
|
@ -69,6 +69,7 @@ struct Context {
|
|||
second_desc: Descriptor,
|
||||
}
|
||||
|
||||
#[derive(Debug)]
|
||||
pub enum Unified {
|
||||
Success(Pool),
|
||||
Failure(Pool, ErrorType, ErrorType),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue