| 74 | } |
| 75 | |
| 76 | std::shared_ptr<const Type> resolveFunction( |
| 77 | const std::string& functionName, |
| 78 | const std::vector<TypePtr>& argTypes) { |
| 79 | // Check if this is a simple function. |
| 80 | if (auto returnType = resolveSimpleFunction(functionName, argTypes)) { |
| 81 | return returnType; |
| 82 | } |
| 83 | |
| 84 | // Check if VectorFunctions has this function name + signature. |
| 85 | return resolveVectorFunction(functionName, argTypes); |
| 86 | } |
| 87 | |
| 88 | std::shared_ptr<const Type> resolveFunctionOrCallableSpecialForm( |
| 89 | const std::string& functionName, |