luaur-analysis 0.1.3

Luau type checker and type inference (Rust).
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
use crate::records::constraint::Constraint;
use crate::records::dcr_logger::DcrLogger;
use crate::records::scope::Scope;
use alloc::vec::Vec;

impl DcrLogger {
    pub fn capture_final_solver_state(
        &mut self,
        root_scope: &Scope,
        unsolved_constraints: &Vec<*const Constraint>,
    ) {
        let mut target = unsafe { core::mem::MaybeUninit::uninit().assume_init() };
        self.capture_boundary_state(&mut target, root_scope, unsolved_constraints);
    }
}