harec

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit aaf6db9c248719033e623dd0e8a1c5e7f9ed4286
parent 1ad7607aaee89738f94dd0c27f00a0ecbba61c9c
Author: Eyal Sawady <ecs@d2evs.net>
Date:   Tue, 17 Aug 2021 18:38:22 +0000

check: remove obsolete comment

Signed-off-by: Eyal Sawady <ecs@d2evs.net>

Diffstat:
Msrc/check.c | 1-
1 file changed, 0 insertions(+), 1 deletion(-)

diff --git a/src/check.c b/src/check.c @@ -1625,7 +1625,6 @@ check_expr_insert(struct context *ctx, expr->insert.loc = aexpr->loc; expr->insert.expr = xcalloc(sizeof(struct expression), 1); check_expression(ctx, aexpr->insert.expr, expr->insert.expr, NULL); - // TODO: Handle dereferences assert(expr->insert.expr->type == EXPR_ACCESS && expr->insert.expr->access.type == ACCESS_INDEX); const struct type *sltype = expr->insert.expr->access.array->result;