diff options
| author | gingerBill <gingerBill@users.noreply.github.com> | 2025-07-30 23:14:29 +0100 |
|---|---|---|
| committer | gingerBill <gingerBill@users.noreply.github.com> | 2025-07-30 23:14:29 +0100 |
| commit | 7057fc8dfc960ad3e7ea4f76deeaafd0cdcf4cf6 (patch) | |
| tree | 7f1e406f8d6fb16bf97b68251fc8524cfcd833cf /src/check_stmt.cpp | |
| parent | aa6a7498045788b318436db22e44b763799a4c22 (diff) | |
Remove the semantics of `#no_copy`, keep the grammar
Diffstat (limited to 'src/check_stmt.cpp')
| -rw-r--r-- | src/check_stmt.cpp | 2 |
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")); |