Fix ambiguous conversion

This commit is contained in:
augustin64 2024-01-04 22:07:11 +01:00
parent aa25c31bcf
commit a4072085fa

View File

@ -361,7 +361,8 @@ AnalysisResult analyze(Node &ast, Memory &memory) {
memory.declare(function_name, type);
Function fn = { {}, memory.make_closure() };
Node empty_node = {};
Function fn = { empty_node, memory.make_closure() };
memory.update(function_name, fn);