Remove the semantics of #no_copy, keep the grammar

This commit is contained in:
gingerBill
2025-07-30 23:14:29 +01:00
parent aa6a749804
commit 7057fc8dfc
8 changed files with 2 additions and 43 deletions

View File

@@ -430,8 +430,6 @@ gb_internal Type *check_assignment_variable(CheckerContext *ctx, Operand *lhs, O
Ast *node = unparen_expr(lhs->expr);
check_no_copy_assignment(*rhs, context_name);
// NOTE(bill): Ignore assignments to '_'
if (is_blank_ident(node)) {
check_assignment(ctx, rhs, nullptr, str_lit("assignment to '_' identifier"));