commit 62bb49f3440e94311c7278344f050c552513aef7
parent 5bba39b2ded75992e3dd996c651f0e4d67cebc7f
Author: Bor Grošelj Simić <bgs@turminal.net>
Date: Fri, 20 Dec 2024 09:49:14 +0100
all: refer to a function by its name, not identifier
Harec is wrong for allowing that. There is the only one instance in the
stdlib where it happens.
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/regex/regex.ha b/regex/regex.ha
@@ -860,7 +860,7 @@ export fn findall(re: *regex, string: str) []result = {
// zero-length match
// forward rune and byte indices
str_idx += 1;
- str_bytesize += encoding::utf8::utf8sz(
+ str_bytesize += utf8::utf8sz(
str_bytes[str_bytesize])!;
};
io::seek(&strm, str_bytesize: io::off,