mirror of
https://github.com/vercel-labs/scriptc.git
synced 2026-11-03 07:54:40 +08:00
A partial record assertion's view has no slot for any field the literal omits. An omitted optional field now reads as undefined and answers false to in, as in Node, instead of reaching a slot the view does not have. The in test's join takes its predecessor from the block the field load ends in. A write of an omitted field evaluates the receiver and the value before the presence check, so the right side's side effects run before the TypeError. The lowerer unit tests' program lists its source files, which the partial-assertion scan reads.