From 9176564a6c0dbb9197dc39d7fb392332e855d0bd Mon Sep 17 00:00:00 2001 From: Chris Rybicki Date: Tue, 24 Sep 2024 23:26:21 -0400 Subject: [PATCH] chore(compiler): remove dead code (#7168) --- packages/@winglang/wingc/src/type_check.rs | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/packages/@winglang/wingc/src/type_check.rs b/packages/@winglang/wingc/src/type_check.rs index 707d2c688c0..66ba7fa0bdd 100644 --- a/packages/@winglang/wingc/src/type_check.rs +++ b/packages/@winglang/wingc/src/type_check.rs @@ -914,18 +914,6 @@ impl FunctionSignature { } } -impl PartialEq for FunctionSignature { - fn eq(&self, other: &Self) -> bool { - self - .parameters - .iter() - .zip(other.parameters.iter()) - .all(|(x, y)| x.typeref.is_same_type_as(&y.typeref)) - && self.return_type.is_same_type_as(&other.return_type) - && self.phase == other.phase - } -} - impl Display for SymbolKind { fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { match self {