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
13
14
use crate::records::txn_log::TxnLog;
use crate::type_aliases::type_or_pack_id::TypeOrPackId;
use alloc::vec::Vec;

impl TxnLog {
    pub fn txn_log_vector_pair_type_or_pack_id_type_or_pack_id(
        &mut self,
        shared_seen: *mut Vec<(TypeOrPackId, TypeOrPackId)>,
    ) {
        // Adopt a borrowed seen set; release ours if we owned one.
        self.shared_seen = shared_seen;
        self.owned_seen_box = None;
    }
}