fixes the random flying bug with duplicates

This commit is contained in:
damirka 2021-10-18 17:48:39 +02:00
parent 2cdf06f4c8
commit 89df5be18f

View File

@ -90,7 +90,7 @@ impl fmt::Debug for Identifier {
impl PartialEq for Identifier {
fn eq(&self, other: &Self) -> bool {
self.name == other.name
self.name == other.name && self.span == other.span
}
}