luaur_analysis/methods/subtyping_reasoning_operator_eq.rs
1use crate::records::subtyping_reasoning::SubtypingReasoning;
2
3impl SubtypingReasoning {
4 pub fn operator_eq(&self, other: &SubtypingReasoning) -> bool {
5 self.sub_path == other.sub_path
6 && self.super_path == other.super_path
7 && self.variance == other.variance
8 && self.is_property_modifier_violation == other.is_property_modifier_violation
9 }
10}