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
use crate::type_aliases::type_id::TypeId;

#[allow(non_camel_case_types)]
#[derive(Debug, Clone, Copy, PartialEq, Eq, Hash)]
pub struct CannotCallNonFunction {
    pub(crate) ty: TypeId,
}

impl CannotCallNonFunction {
    pub fn ty(&self) -> TypeId {
        self.ty
    }
}