Skip to main content

Module solve_function_call

Module solve_function_call 

Source
Expand description

C++ static std::optional<TypePackId> solveFunctionCall(NotNull<TypeFunctionContext> ctx, const Location& location, TypeId fnTy, TypePackId argsPack) (BuiltinTypeFunctions.cpp:121-192). Resolves a (meta)method overload, unifies a prospective function shape against it, and returns the resulting return pack (instantiating generic substitutions where the overload was generic).

Functionsยง

solve_function_call