You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Review of the representation changes found derived data stored beside
its source and duplicate derivations:
- variant_layout collapses to the constructors array. The by-name map
duplicated every case (and the names inside them), and the dispatch
field was derivable; both are now computed by accessors, with the
dispatch derived at its single consumer in Matching.
- cstr_transparent was derivable from cstr_layout plus the unboxed
attribute once descriptions carried their layout; it is a Datarepr
predicate again, now environment-free.
- Construction in Translcore reads the constructor's layout entry
(Datarepr.constructor_case) instead of re-deriving the tag and block
runtime from attributes, closing the last spot where construction and
matching could derive representation independently.
- Parmatch's full_match compares against the layout's length instead of
looking the declaration up in the environment; the block-count folds
in Translcore, Matching, and Datarepr use one Variant_runtime helper;
js_dump drops a tautological num_nonconst test.
- The type-equation re-exports in Ast_untagged_variants are gone:
consumers reference Variant_runtime directly.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01YWw5GW8t4UDEWAzoqcDMkE
0 commit comments