luaur-analysis 0.1.3

Luau type checker and type inference (Rust).
Documentation
1
2
3
4
5
6
7
8
use crate::records::replacer::Replacer;
use crate::type_aliases::type_id::TypeId;

impl Replacer {
    pub fn is_dirty_type_id(&self, ty: TypeId) -> bool {
        unsafe { (*self.replacements).find(&ty).is_some() }
    }
}