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

placement: the provider copy takes the top-level code reaching what it copies too (R1)

The RSC provider copy (kind provider) copied what its handlers reach but no
statement or never-read declaration reaching it: a class static block, a
never-read declaration and a default-export expression were missing where
main's copy of the whole file runs them (gate probes r5, r6, x3 under RSC).
The R1 rule applies to every output that copies, in the same code.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Sheraff 2026-11-15 11:18:21 +01:00
commit 2dbbe8eaf2
No known key found for this signature in database
2 changed files with 73 additions and 18 deletions