Always have wmain. Cleanup synthetic main generation. Some cleanup for generics.

This commit is contained in:
Christoffer Lerno
2026-02-06 01:28:19 +01:00
parent 42b79d19c1
commit 5c158e481b
5 changed files with 67 additions and 51 deletions

View File

@@ -10827,7 +10827,7 @@ static inline bool sema_expr_analyse_generic_ident(SemaContext *context, Expr *e
}
Decl *symbol = sema_analyse_parameterized_identifier(context, parent->unresolved_ident_expr.path,
parent->unresolved_ident_expr.ident, parent->span,
expr->generic_ident_expr.parameters, NULL, expr->span);
expr->generic_ident_expr.parameters, expr->span);
if (!decl_ok(symbol)) return false;
expr_resolve_ident(expr, symbol);
return true;