luaur-analysis 0.1.2

Luau type checker and type inference (Rust).
Documentation
1
2
3
4
5
6
7
8
9
10
11
use crate::functions::fresh_index::fresh_index;
use crate::records::error::Error;

impl Error {
    pub fn error_id_error() -> Self {
        Error {
            index: fresh_index(),
            synthetic: None,
        }
    }
}