~sircmpwn/hare-dev

harec: emit_const: fix inverted boolean v1 APPLIED

Armin Weigl: 1
 emit_const: fix inverted boolean

 1 files changed, 1 insertions(+), 1 deletions(-)
#788329 alpine.yml success
#788330 freebsd.yml success
Export patchset (mbox)
How do I use this?

Copy & paste the following snippet into your terminal to import this patchset into git:

curl -s https://lists.sr.ht/~sircmpwn/hare-dev/patches/33308/mbox | git am -3
Learn more about email & git

[PATCH harec] emit_const: fix inverted boolean Export this patch

Signed-off-by: Armin Weigl <tb46305@gmail.com>
---
 src/typedef.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/typedef.c b/src/typedef.c
index 566831c..9e4c268 100644
--- a/src/typedef.c
+++ b/src/typedef.c
@@ -63,7 +63,7 @@ emit_const(const struct expression *expr, FILE *out)
	assert(!val->object);
	switch (type_dealias(expr->result)->storage) {
	case STORAGE_BOOL:
		fprintf(out, "%s", val->bval ? "false" : "true");
		fprintf(out, "%s", val->bval ? "true" : "false");
		break;
	case STORAGE_F32:
	case STORAGE_F64:
-- 
2.35.1
harec/patches: SUCCESS in 44s

[emit_const: fix inverted boolean][0] from [Armin Weigl][1]

[0]: https://lists.sr.ht/~sircmpwn/hare-dev/patches/33308
[1]: mailto:tb46305@gmail.com

✓ #788329 SUCCESS harec/patches/alpine.yml  https://builds.sr.ht/~sircmpwn/job/788329
✓ #788330 SUCCESS harec/patches/freebsd.yml https://builds.sr.ht/~sircmpwn/job/788330
Thanks!

To git@git.sr.ht:~sircmpwn/harec
   16bb1fb..bbabe09  master -> master