luaur_analysis/methods/
anyification_anyification_anyification_alt_b.rs1use crate::records::anyification::Anyification;
2use crate::records::builtin_types::BuiltinTypes;
3use crate::records::internal_error_reporter::InternalErrorReporter;
4use crate::records::scope::Scope;
5use crate::records::type_arena::TypeArena;
6use crate::type_aliases::scope_ptr_anyification::ScopePtr;
7use crate::type_aliases::type_id::TypeId;
8use crate::type_aliases::type_pack_id::TypePackId;
9
10impl Anyification {
11 pub fn anyification_type_arena_scope_ptr_not_null_builtin_types_internal_error_reporter_type_id_type_pack_id(
12 arena: *mut TypeArena,
13 scope: &ScopePtr,
14 builtin_types: *mut BuiltinTypes,
15 ice_handler: *mut InternalErrorReporter,
16 any_type: TypeId,
17 any_type_pack: TypePackId,
18 ) -> Self {
19 let scope_raw = alloc::sync::Arc::as_ptr(scope) as *mut Scope;
20 Self::anyification_type_arena_not_null_scope_not_null_builtin_types_internal_error_reporter_type_id_type_pack_id(
21 arena,
22 scope_raw,
23 builtin_types,
24 ice_handler,
25 any_type,
26 any_type_pack,
27 )
28 }
29}