mirror of
https://github.com/vercel-labs/scriptc.git
synced 2026-11-11 02:03:59 +08:00
The checked-receiver brand check was meant for JavaScript methods, whose `this` is the actual call-site value. It also accepted TypeScript `unknown` receivers, which the private-members diagnostics fixture pins as refused (narrow first). It now applies to JavaScript sources only. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>