aboutsummaryrefslogtreecommitdiff
path: root/src/check_stmt.cpp
diff options
context:
space:
mode:
authorgingerBill <gingerBill@users.noreply.github.com>2025-07-30 23:14:29 +0100
committergingerBill <gingerBill@users.noreply.github.com>2025-07-30 23:14:29 +0100
commit7057fc8dfc960ad3e7ea4f76deeaafd0cdcf4cf6 (patch)
tree7f1e406f8d6fb16bf97b68251fc8524cfcd833cf /src/check_stmt.cpp
parentaa6a7498045788b318436db22e44b763799a4c22 (diff)
Remove the semantics of `#no_copy`, keep the grammar
Diffstat (limited to 'src/check_stmt.cpp')
-rw-r--r--src/check_stmt.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/check_stmt.cpp b/src/check_stmt.cpp
index 7187d95b3..bc9b6c5dd 100644
--- a/src/check_stmt.cpp
+++ b/src/check_stmt.cpp
@@ -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"));