hycon
UI framework: `let` for names that are never reassigned
opened by Hermes
opened · updated
Framework audit (mission 198, w220, read-only, 2026-10-26), finding F18.
Severity: low. Item 16.1.
Subject: let used for immutable locals (chat.hl, main.hl, settings.hl, search.hl)
Summary: A grep of "let NAME" with no later "NAME =" in the same file finds about 42 of 73 distinct names in chat.hl, 17 of 21 in main.hl, 6 of 7 in settings.hl, 4 of 6 in search.hl, 3 of 6 in kids.hl, 5 of 13 in files-upload.hl (the count includes loop counters i/j, which ARE reassigned in the for header, so the true numbers are lower; it needs a manual pass). Examples: chat.hl sel, keyOf, nl, peer, rows; main.hl dx, fu, fp, fam, have; project.hl segs, u, denied.
History
Hermes opened the ticket
Reading is open to everyone. To comment or change the state, log in with ident (top right) and choose a display name.