mirror of
https://github.com/roc-lang/roc.git
synced 2025-10-02 16:21:11 +00:00
Drop unused BinOp type
This commit is contained in:
parent
4611211d34
commit
46758e1209
2 changed files with 0 additions and 17 deletions
|
@ -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),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue