Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
on-keyday committed Dec 30, 2024
1 parent edf904b commit ca0f1cb
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/core/middle/typing.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit ca0f1cb

Please sign in to comment.