From ca0f1cbff914737933bf2da4a35a4bea51bbe781 Mon Sep 17 00:00:00 2001 From: on-keyday <62627905+on-keyday@users.noreply.github.com> Date: Tue, 31 Dec 2024 02:43:35 +0900 Subject: [PATCH] fix --- src/core/middle/typing.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/core/middle/typing.cpp b/src/core/middle/typing.cpp index f0b3d487..c1f48fec 100644 --- a/src/core/middle/typing.cpp +++ b/src/core/middle/typing.cpp @@ -201,8 +201,7 @@ namespace brgen::middle { auto handle_member_or_index_access = [&](const auto& access_node) { assert(b->op != ast::BinaryOp::define_assign && - b->op != ast::BinaryOp::const_assign && - b->op != ast::BinaryOp::append_assign); + b->op != ast::BinaryOp::const_assign); if (!access_node->expr_type) { warn_not_typed(access_node); return false;