Fix matches list
This commit is contained in:
@@ -356,7 +356,7 @@ Ast_Decl *get_or_instantiate_polymorph_lambda(Token *pos, Ast_Decl *poly, Array<
|
||||
result = (Ast_Decl *)ast_copy(poly, poly->parent_scope, &poly->polymorph_parameters, ¶ms);
|
||||
For(result->lambda->args) {
|
||||
if (it->flags & AST_IDENT_POLYMORPH) {
|
||||
result->lambda->args.ordered_remove(it);
|
||||
result->lambda->args.ordered_remove(it); //@verify: this does not fuck ordereding
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user