Skip to content

Commit

Permalink
ast: remove FloorDiv
Browse files Browse the repository at this point in the history
closes #341
  • Loading branch information
sbillig committed May 7, 2021
1 parent 05eb9e1 commit 0e31d9e
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 3 deletions.
1 change: 0 additions & 1 deletion analyzer/src/operations.rs
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,6 @@ pub fn bin(left: &Type, op: &fe::BinOperator, right: &Type) -> Result<Type, Sema
fe::BinOperator::BitOr | fe::BinOperator::BitXor | fe::BinOperator::BitAnd => {
bin_bit(left, right)
}
fe::BinOperator::FloorDiv => unimplemented!(),
}
}

Expand Down
1 change: 0 additions & 1 deletion compiler/src/yul/mappers/expressions.rs
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,6 @@ pub fn expr_bin_operation(context: &Context, exp: &Node<fe::Expr>) -> yul::Expre
}
_ => unreachable!(),
},
fe::BinOperator::FloorDiv => unimplemented!(),
};
}

Expand Down
1 change: 0 additions & 1 deletion parser/src/ast.rs
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,6 @@ pub enum BinOperator {
BitOr,
BitXor,
BitAnd,
FloorDiv,
}

#[derive(Serialize, Deserialize, Debug, PartialEq, Clone)]
Expand Down

0 comments on commit 0e31d9e

Please sign in to comment.