mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-29 06:44:46 +00:00
remove BinOp variant
This commit is contained in:
parent
ad40609d44
commit
1871697b0f
6 changed files with 2 additions and 73 deletions
|
@ -803,12 +803,6 @@ pub fn canonicalize_expr<'a>(
|
|||
bad_expr
|
||||
);
|
||||
}
|
||||
bad_expr @ ast::Expr::BinOp(_) => {
|
||||
panic!(
|
||||
"A binary operator did not get desugared somehow: {:#?}",
|
||||
bad_expr
|
||||
);
|
||||
}
|
||||
bad_expr @ ast::Expr::BinOps { .. } => {
|
||||
panic!(
|
||||
"A binary operator chain did not get desugared somehow: {:#?}",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue