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

test(router-utils): a read or write through an alias inside a forwarding expression is one of its object

Fable's review of order rule v2, finding 1 (cases/wrap.json): a name inside
a conditional's branch, `??`/`||`/`&&`, a sequence's last, `await`, an
assignment's value or a literal read back (`(alias ?? {}).b`, `[alias][0].b`)
reads the object it holds, as `alias.b` does; with `const`, `let` and
destructured aliases. The same climb finds the object a member write
through such an expression writes (`(on ? alias : {}).b = 2`).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Sheraff 2026-11-11 23:17:03 +01:00
commit c23de7375d
No known key found for this signature in database