Files
scriptc/tests
Malte UblandClaude Opus 5.5 74646b783f Check a dynamic { encoding } option into its record for encoded reads
`fs.readFileSync(file, { encoding })` and `fs.promises.readFile` read
the encoding field straight off the lowered options literal. When the
encoding value is checked-dynamic (dotenv's `t = e.encoding`), the
literal lowers to a dynamic object, and the record field read failed IR
validation with SC9001 "recordGet receiver: expected record, got dyn".

Check such a literal into the `{ encoding: string }` record the checker
describes before reading the field.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-18 13:51:43 -07:00
..
2026-07-22 18:08:04 -05:00
2026-10-18 12:28:02 -05:00
2026-10-18 12:01:19 -05:00