luaur-analysis 0.1.3

Luau type checker and type inference (Rust).
Documentation
1
2
3
4
5
6
7
8
9
10
use crate::records::subtyping_reasoning::SubtypingReasoning;

impl SubtypingReasoning {
    pub fn operator_eq(&self, other: &SubtypingReasoning) -> bool {
        self.sub_path == other.sub_path
            && self.super_path == other.super_path
            && self.variance == other.variance
            && self.is_property_modifier_violation == other.is_property_modifier_violation
    }
}