Fix matches list

This commit is contained in:
Krzosa Karol
2023-04-01 20:36:36 +02:00
parent 96ce6765fe
commit 3c70b45be4
2 changed files with 9 additions and 3 deletions

View File

@@ -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, &params);
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
}
}