trying to fix basic types local types

This commit is contained in:
ProgramSnail 2023-05-22 21:00:47 +03:00
parent 24ff9a30d8
commit a2e305c27f
2 changed files with 1 additions and 1 deletions

Binary file not shown.

View file

@ -510,7 +510,7 @@ void ExecuteVisitor::Visit(FunctionCallExpression* node) {
std::optional<FunctionDefinitionStatement*> maybe_function_definition;
auto maybe_function_graph_info = typeclass_graph_.GetFunctionInfo(node->name,
node->defined_type_graph_id.value());
node->graph_id_.value());
if (!maybe_function_graph_info.has_value()) {
error_handling::HandleRuntimeError("Function info not found (by graph_id_)", node->base);