Drop unused BinOp type

This commit is contained in:
Richard Feldman 2019-11-09 03:31:06 -05:00
parent 4611211d34
commit 46758e1209
2 changed files with 0 additions and 17 deletions

View file

@ -115,15 +115,6 @@ fn type_to_variable<'a>(subs: &'a mut Subs, typ: Type) -> Variable {
subs.fresh(Descriptor::from(content))
}
BinOp(box_type) => {
let op_type = *box_type;
let l_var = type_to_variable(subs, op_type.left);
let r_var = type_to_variable(subs, op_type.right);
let ret_var = type_to_variable(subs, op_type.ret);
let content = Content::Structure(FlatType::BinOp(l_var, r_var, ret_var));
subs.fresh(Descriptor::from(content))
}
Erroneous(problem) => {
let content = Content::Structure(FlatType::Erroneous(problem));