commit f2a4324bb3ea0f7db3c87445a3e37c4927e77a3a
parent 0a945a424611a0b1ceb6e2da256c7cf428a2f3ec
Author: Lou Woell <lou.woell@posteo.de>
Date: Thu, 4 Sep 2025 15:24:47 +0200
fix check for interned symbols
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/cmd/harehelper/find.ha b/cmd/harehelper/find.ha
@@ -75,7 +75,7 @@ fn find_uid (id: ast::ident, path: str) (void | ast::ident) = {
if (check) {
let id_exp = ast::ident_dup(i.ident);
- if(len(id) > 1 && !interned){
+ if(len(id) > 1 || interned){
let end = ident_last(id);
let id_end = ast::ident_dup(end);
append(id_exp, id_end[0])!;