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
{{ message }}
Repository navigation
Commit de20dcd
Browse filesBrowse the repository at this point in the historyBrowse files
Bend 2.0.11: term_show keys are unsugared, so templates and show descriptors no longer collide on Array shapes (#834)
term_show output was the identity key of two caches: the template
specialization table (parse_term_ops, tm.is[key]) and the compiled
main show descriptor table (comp.ts show_main). Its Array sugar
prints every ALeaf/ANode tree with the same leaves as one list, so
two shapes shared one specialization (the checker saw the wrong type;
a proof of Empty checked) and one descriptor (the C main read a stray
heap word, the JS lane fail-stopped).
term_show takes a key flag that skips the Array sugar, the only one
that is not injective. Both key sites pass it. Every other print is
byte-identical. Two regression tests: tests/comptime/template_key_shape
and tests/check/template_key_empty.
0 commit comments