Fix ambiguous conversion
This commit is contained in:
parent
aa25c31bcf
commit
a4072085fa
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user