luaur-analysis 0.1.3

Luau type checker and type inference (Rust).
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
use crate::records::substitution::Substitution;
use crate::records::txn_log::TxnLog;
use crate::records::type_arena::TypeArena;
use luaur_common::macros::luau_assert::LUAU_ASSERT;

impl Substitution {
    pub fn substitution_txn_log_type_arena(&mut self, log_: *const TxnLog, arena: *mut TypeArena) {
        self.arena = arena;
        self.base.log = log_;
        LUAU_ASSERT!(!log_.is_null());
    }
}