commit 3f6c4d6ec990739d04b2ccd04151087869c39581
parent 2d64a44a12b24294d6b38e33e30b5b28f8a91a27
Author: Drew DeVault <sir@cmpwn.com>
Date: Fri, 13 Aug 2021 14:48:19 +0200
gen: remove obsolete comment
Signed-off-by: Drew DeVault <sir@cmpwn.com>
Diffstat:
1 file changed, 0 insertions(+), 3 deletions(-)
diff --git a/src/gen.c b/src/gen.c
@@ -1971,9 +1971,6 @@ gen_match_with_tagged(struct gen_context *ctx,
goto next;
}
- // TODO: We actually need to allocate a separate binding and
- // copy this into it, probably. We could avoid that if we knew
- // the binding were not assigned to, fwiw.
struct gen_binding *gb = xcalloc(1, sizeof(struct gen_binding));
gb->value.kind = GV_TEMP;
gb->value.type = _case->type;