mirror of
https://github.com/vercel-labs/scriptc.git
synced 2026-10-22 05:59:31 +08:00
SC6001 only looked at call arguments and typed initializers, and only at strict field subsets: a target that adds optional properties, the empty record type, `r as T`, a later `v = r` into a typed binding, and records stored as elements of a typed array literal copied silently. The scan now reports a copy whenever the property sets differ, covers those sites, and reports a class instance that reaches a plain record type which does not keep its identity (the remaining boundary: interfaces of only generic methods). Every corpus program still reports no divergence.