luaur-analysis 0.1.3

Luau type checker and type inference (Rust).
Documentation
1
2
3
4
5
6
7
8
9
use crate::records::constraint::Constraint;
use crate::records::constraint_solver::ConstraintSolver;

impl ConstraintSolver {
    pub fn deprecate_d_is_blocked(&self, constraint: *const Constraint) -> bool {
        let blocked_it = self.deprecated_blocked_constraints.get(&constraint);
        blocked_it.map_or(false, |blocked| *blocked > 0)
    }
}