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

@ -25,7 +25,6 @@ pub enum Type {
EmptyRec,
/// A function. The types of its arguments, then the type of its return value.
Function(Vec<Type>, Box<Type>),
BinOp(Box<BinOpType>),
/// Applying a type to some arguments (e.g. Map.Map String Int)
Apply {
module_name: Box<str>,
@ -84,13 +83,6 @@ impl Type {
}
}
#[derive(PartialEq, Eq, Debug, Clone)]
pub struct BinOpType {
pub left: Type,
pub right: Type,
pub ret: Type,
}
#[derive(Debug, Clone, PartialEq, Eq)]
pub enum Expected<T> {
NoExpectation(T),