luaur-analysis 0.1.1

Luau type checker and type inference (Rust).
Documentation
1
2
3
4
5
6
7
8
9
use crate::records::invalid_name_checker::InvalidNameChecker;
use crate::records::unknown_property::UnknownProperty;

impl InvalidNameChecker {
    pub fn operator_call_3(&self, e: &UnknownProperty) -> bool {
        let invalid_name: &String = unsafe { &*(self as *const Self as *const String) };
        e.key() == invalid_name
    }
}