Commit Graph
2 Commits
Author SHA1 Message Date
Malte Ubl ae76fa85a3 Decide index-signature hits by presence for nullable value unions
An overflow map stores a nullable union's unit arm as NULL, which the keyed-read path took for a missing key (trapping where the result has no undefined arm, e.g. a stored null in Record<string, C | null>). Presence now comes from scr_map_has_str for nullable value unions; corpus 4413/4414 pin present-null index reads.
2026-10-09 11:59:24 -05:00
Malte Ubl 374edc9871 Pin null|undefined, string and container nullable references
Corpus 4413 (C | null | undefined), 4414 (string arms) and 4415 (array, Map and Set arms) cover discrimination, truthiness, equality, nullish operators, arrays, Map values, optional record fields through JSON/inspect/in/checked casts, unknown, captures, generators, async payloads and hot loops; preflight/order baselines recorded.
2026-10-09 11:59:24 -05:00