~sircmpwn/hare-dev

gen.c: Fix warning which lets build fail v1 APPLIED

Max Schillinger: 1
 gen.c: Fix warning which lets build fail

 1 files changed, 2 insertions(+), 1 deletions(-)
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/45951/mbox | git am -3
Learn more about email & git

[PATCH] gen.c: Fix warning which lets build fail Export this patch

---
 src/gen.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/gen.c b/src/gen.c
index 0703ca9..fface9d 100644
--- a/src/gen.c
+++ b/src/gen.c
@@ -222,8 +222,9 @@ gen_access_ident(struct gen_context *ctx, const struct scope_object *obj)
	case O_CONST:
	case O_TYPE:
	case O_SCAN:
		abort(); // Invariant
		break;
	}
	abort(); // Invariant
}

static void
-- 
2.42.0
Sorry, I forgot to modify the title: This is for harec.
thanks!

to git@git.sr.ht:~sircmpwn/harec
  8b36c29..64dea19  master -> master