~sircmpwn/hare-dev

This thread contains a patchset. You're looking at the original emails, but you may wish to use the patch review UI. Review patch
2 2

[PATCH hare v2] strings/template: Give the missing parameter name in the error

Details
Message ID
<20220827170955.32730-1-contact+sr.ht@hacktivis.me>
DKIM signature
pass
Download raw message
Patch: +2 -1
From: "Haelwenn (lanodan) Monnier" <contact@hacktivis.me>

---
 strings/template/template.ha | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/strings/template/template.ha b/strings/template/template.ha
index cc2032e5..8bab5994 100644
--- a/strings/template/template.ha
+++ b/strings/template/template.ha
@@ -103,7 +103,8 @@ fn get_param(name: str, params: param...) fmt::formattable = {
			return params[i].1;
		};
	};
	abort("strings::tmpl: required parameter was not provided");
	fmt::errorfln("strings::template: required parameter ${} was not provided", name)!;
	abort();
};

fn parse_variable(
-- 
2.35.1

[hare/patches] build success

builds.sr.ht <builds@sr.ht>
Details
Message ID
<CMGZ8K68HEPX.GDR93XBRBQMP@cirno>
In-Reply-To
<20220827170955.32730-1-contact+sr.ht@hacktivis.me> (view parent)
DKIM signature
missing
Download raw message
hare/patches: SUCCESS in 1m36s

[strings/template: Give the missing parameter name in the error][0] v2 from [Haelwenn (lanodan) Monnier][1]

[0]: https://lists.sr.ht/~sircmpwn/hare-dev/patches/34962
[1]: contact+sr.ht@hacktivis.me

✓ #832922 SUCCESS hare/patches/alpine.yml  https://builds.sr.ht/~sircmpwn/job/832922
✓ #832923 SUCCESS hare/patches/freebsd.yml https://builds.sr.ht/~sircmpwn/job/832923
Details
Message ID
<CMIG5YV314WI.3H8YRSL8OU7I6@taiga>
In-Reply-To
<20220827170955.32730-1-contact+sr.ht@hacktivis.me> (view parent)
DKIM signature
pass
Download raw message
Thanks!

To git@git.sr.ht:~sircmpwn/hare
   78a99de5..3dd57483  master -> master
Reply to thread Export thread (mbox)