harec

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

commit facfafe9e359d6da38f194b2266743da91026714
parent e75a186f908f2dbc7b2ef5e506a4c5e9c8177358
Author: Drew DeVault <sir@cmpwn.com>
Date:   Fri, 26 Feb 2021 17:50:39 -0500

gen: fix assertion on value type

Diffstat:
Msrc/gen.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/gen.c b/src/gen.c @@ -2795,7 +2795,7 @@ gen_data_item(struct gen_context *ctx, struct expression *expr, assert(0); // Invariant } - assert(item->value.type); + assert(item->type != QD_VALUE || item->value.type); return item; }