Skip to content

MixedUnionCensus

module MixedUnionCensus
AssemblyXantham.Generator

Measurement pass for docs/.ai/plans/2026-09-22-mixed-literal-unions.md Step 0: appends one JSON row per union type mixing literal and typed arms, with its eligibility for an erased-DU mapping. Inert unless XANTHAM_MIXED_UNION_CENSUS is set to the file to append to. Arms are classified from raw TypeFacts, so string literals count as literals rather than as string; the plan's "Step 0 result" section records the rationale.

Functions and values

countMixedUnions: Pass<ShapeModel>