~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

[PATCH hare-json] Bump usage of bufio::read_rune

Details
Message ID
<20230919082134.11905-2-contact@willowbarraco.fr>
DKIM signature
pass
Download raw message
Patch: +1 -1
Signed-off-by: Willow Barraco <contact@willowbarraco.fr>
---
 encoding/json/lex.ha | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/encoding/json/lex.ha b/encoding/json/lex.ha
index a523db1..3545cc3 100644
--- a/encoding/json/lex.ha
+++ b/encoding/json/lex.ha
@@ -339,7 +339,7 @@ fn nextrune(lex: *lexer) (rune | io::EOF | error) = {
		};
		return r;
	};
	match (bufio::scanrune(lex.src)) {
	match (bufio::read_rune(lex.src)) {
	case let err: io::error =>
		return err;
	case utf8::invalid =>
-- 
2.42.0
Details
Message ID
<CVOEUM2MU4NM.1HMWILVHBD7JT@taiga>
In-Reply-To
<20230919082134.11905-2-contact@willowbarraco.fr> (view parent)
DKIM signature
pass
Download raw message
It looks like hare-json needs a fair bit more work here to be made up to
date with the latest language/stdlib changes, can you write a more
comprehensive patch?
Details
Message ID
<CVOGHXUMC0XS.1G0IVY15QV94M@taiga>
In-Reply-To
<20230919082134.11905-2-contact@willowbarraco.fr> (view parent)
DKIM signature
pass
Download raw message
Thanks!

To git@git.sr.ht:~sircmpwn/hare-json
   4af2d11..e24e5dc  master -> master
Reply to thread Export thread (mbox)