luaur-analysis 0.1.1

Luau type checker and type inference (Rust).
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
use crate::records::resetter::Resetter;

impl Drop for Resetter {
    fn drop(&mut self) {
        unsafe {
            *self.variance = self.old_value.clone();
        }
    }
}

#[allow(non_snake_case)]
pub fn resetter_resetter() {
    // Kept as a no-op to match the scheduled method symbol name; actual logic is in Drop.
}