mirror of
https://github.com/kmc7468/cs420.git
synced 2025-12-16 07:28:52 +00:00
Fix hw1 fuzzer
This commit is contained in:
@@ -102,6 +102,7 @@ impl IsEquiv for Declarator {
|
||||
impl IsEquiv for DeclaratorKind {
|
||||
fn is_equiv(&self, other: &Self) -> bool {
|
||||
match (self, other) {
|
||||
(Self::Abstract, Self::Abstract) => true,
|
||||
(Self::Identifier(identifier), Self::Identifier(other_identifier)) => {
|
||||
identifier.node.name == other_identifier.node.name
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user