Function overload check cleanup. Added if statement to parsing.
This commit is contained in:
@@ -1309,7 +1309,8 @@ check_call :: (checker : *Semantic_Checker, node : *AST_Node, type_var : Type_Va
|
||||
|
||||
function := from_handle(checker, func.type_variable);
|
||||
|
||||
if arg_count != function.children.count {
|
||||
field_list := function.source_node.children[0];
|
||||
if arg_count != field_list.children.count {
|
||||
continue;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user