Skip to main content

luaur_analysis/methods/
ambiguous_function_call_new.rs

1use crate::records::ambiguous_function_call::AmbiguousFunctionCall;
2use crate::type_aliases::type_id::TypeId;
3use crate::type_aliases::type_pack_id::TypePackId;
4
5impl AmbiguousFunctionCall {
6    pub fn new(function: TypeId, arguments: TypePackId) -> Self {
7        Self {
8            function,
9            arguments,
10        }
11    }
12}