use crate::records::hash_blocked_constraint_id::HashBlockedConstraintId;
use crate::type_aliases::blocked_constraint_id::BlockedConstraintId;
impl HashBlockedConstraintId {
pub fn operator_call(&self, bci: &BlockedConstraintId) -> usize {
let mut result: usize = 0;
if let Some(ty) = bci.get_if_0() {
result = *ty as usize;
} else if let Some(tp) = bci.get_if_1() {
result = *tp as usize;
} else if let Some(c) = bci.get_if_2() {
result = *c as usize;
} else {
luaur_common::macros::luau_assert::LUAU_ASSERT!(false);
}
result
}
}