0
Fork 0
mirror of https://github.com/TanStack/router.git synced 2026-11-16 19:38:07 +00:00

fix(router-utils,router-plugin): every hint of a kept declaration or option frees what it names (final review finding 4)

(a) the order warning names the declarations it reads that the same effect
keeps (KeptDeclaration.with); (b) an effect another chunk loads gets a module
or the annotation, not a swap; (c) shared: its own module; (d) an export's
reads name the binding (readsKept returns it); (e) gone with item 4; (f) a
use inside a write of the kept declaration gets the move only; (g) an option
writing a binding kept for its initialiser's effects gets the annotation
(Fallback.writes 'used' | 'kept', FallbackRecord.annotate); (h) a let nothing
assigns gets const.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Sheraff 2026-11-11 15:14:57 +01:00
commit abaea78f39
No known key found for this signature in database
10 changed files with 448 additions and 71 deletions