Skip to main content

luaur_analysis/methods/
unifier_find_table_property_respecting_meta.rs

1use crate::functions::find_table_property_respecting_meta_type_utils::find_table_property_respecting_meta_not_null_builtin_types_error_vec_type_id_string_location_bool;
2use crate::records::unifier::Unifier;
3use crate::type_aliases::name_type::Name;
4use crate::type_aliases::type_id::TypeId;
5
6impl Unifier {
7    pub fn unifier_find_table_property_respecting_meta(
8        &mut self,
9        lhs: TypeId,
10        name: Name,
11    ) -> Option<TypeId> {
12        find_table_property_respecting_meta_not_null_builtin_types_error_vec_type_id_string_location_bool(
13            self.builtin_types,
14            &mut self.errors,
15            lhs,
16            &name,
17            self.location,
18            false,
19        )
20    }
21}