mirror of
https://codeberg.org/ProgramSnail/lang_2023.git
synced 2025-12-20 05:48:44 +00:00
trying to fix basic types local types
This commit is contained in:
parent
24ff9a30d8
commit
a2e305c27f
2 changed files with 1 additions and 1 deletions
Binary file not shown.
|
|
@ -510,7 +510,7 @@ void ExecuteVisitor::Visit(FunctionCallExpression* node) {
|
||||||
std::optional<FunctionDefinitionStatement*> maybe_function_definition;
|
std::optional<FunctionDefinitionStatement*> maybe_function_definition;
|
||||||
|
|
||||||
auto maybe_function_graph_info = typeclass_graph_.GetFunctionInfo(node->name,
|
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()) {
|
if (!maybe_function_graph_info.has_value()) {
|
||||||
error_handling::HandleRuntimeError("Function info not found (by graph_id_)", node->base);
|
error_handling::HandleRuntimeError("Function info not found (by graph_id_)", node->base);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue