mirror of
https://github.com/vercel-labs/scriptc.git
synced 2026-11-08 08:44:37 +08:00
The corpus program runs under Node and natively with identical output: a getter returning a private method, private generator and async generator methods, private fields read and written through static accessors, a private method called through `this`, every subclass-receiver TypeError, receivers passed in as a value, the anonymous-class message, the absence of "#x" string keys, and source-order initialization of public and private static fields with a static block. The IR unit test pins that `this.#x` in a runtime static accessor calls the brand helper and that no private name becomes a string literal. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>